stc.x=floor(stc.x*shadow_res.x+fract(pos_screen.y*shadow_res.y))/shadow_res.x;// add some chaotic jitter to X sample pos according to Y to disguise the snapping going on here
stc.x=floor(stc.x*shadow_res.x+fract(pos_screen.y*shadow_res.y))/shadow_res.x;// add some chaotic jitter to X sample pos according to Y to disguise the snapping going on here