Re: GL_FRAMEBUFFER_SRGB and GLJPanel
Posted by
Sven Gothel on
Oct 23, 2013; 3:02pm
URL: https://forum.jogamp.org/GL-FRAMEBUFFER-SRGB-and-GLJPanel-tp4030329p4030358.html
On 10/23/2013 04:59 PM, Christopher Bruns [via jogamp] wrote:
> Thank you for your response Sven. I tried moving the
> glEnable(GL_FRAMEBUFFER_SRGB) call from the init() method to the display()
> method, but the unwanted darkness remains.
.. also add 'glDisable(GL_FRAMEBUFFER_SRGB)'
at the _end_ for your display - so the state change is local
and not impacting GLJPanel's FBO usage ..
That shall shed some light in the pipeline :)
> Perhaps I have misunderstood the
> meaning of your comment?
You just missed a little part of it ..
~Sven