Hi,
As far as I see, you only need to replace TEXCOORD0 by VPOS. The former is normalized while the second is in pixels.

Salud!