How write a color to a texel when i have its UV coordinates?

Hi,
in a fragment shader, i have the fragment’s color and i want to write this color to another texel which i have the coordinates.
Do you know how i can do ?

PS : please tell me if i’m not clear.

My understanding of the GLSL specification is that you cannot control the fragment position from within the fragment shader, only the color and depth.

Peter

ok thank you.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.