Ok keep the float4s, remove the division and change the tex2D to tex2Dproj. I'm just trying some things here, it's been a very long time since I've programmed shaders.