Re: JOGL Shader Questions
Posted by
bgroenks96 on
Apr 07, 2013; 3:53pm
URL: https://forum.jogamp.org/JOGL-Shader-Questions-tp4028783p4028933.html
Forgive me.... I'm not sure what you're saying....

I think I can figure out rendering images simply using Texture, glBindTexture, glTexCoord2f, and glVertex2f.
I'm just still confused as how to use a shader to apply gamma correction to each rendered fragment.
I'd prefer to be able to run the shader whether or not a texture is bound. So if I call glColor3f and then draw a polygon, I can still have the shader run on those pixels.
I'm pretty lost on that issue.