Hi, i’m trying to use a fragment shader with glDrawPixels, but i wasn’t able to realize how to access the pixel data.
For instance i can draw a blue square putting:
gl_FragColor = vec4(0,0,1,0);
in the shader, but it is not what i wanted to do, as i would like to process the color that is being written
Thanks