Skip to main content
added 12 characters in body; edited title; edited tags
Source Link
user1430
user1430

(Opengl) Is there a way to get what pixel the fragment shader is processing withingbeing processed within the fragment shader?

SoIn OpenGL, thea fragment shader goes through each pixel, right? So is it possible (within the shader itself) to get what pixel it is processing and color each specific pixel?

(Opengl) Is there a way to get what pixel the fragment shader is processing withing the fragment shader?

So, the fragment shader goes through each pixel, right? So is it possible (within the shader) to get what pixel it is processing and color each specific pixel?

Is there a way to get what pixel is being processed within the fragment shader?

In OpenGL, a fragment shader goes through each pixel, right? So is it possible (within the shader itself) to get what pixel it is processing and color each specific pixel?

Source Link
user68817
user68817

(Opengl) Is there a way to get what pixel the fragment shader is processing withing the fragment shader?

So, the fragment shader goes through each pixel, right? So is it possible (within the shader) to get what pixel it is processing and color each specific pixel?