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

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.


ok thank you.

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