Hello,
I wrote a shader that needs to obtain texture coordinates from screen coordinates, but gl_FragCoord's y coordinate is always 0.
x, z, and w are fine. As a result, I get lines going up and down the screen.
What could be the cause of this?
Thank for any help you can offer.



