Thanks Luc, change merged and submitted to svn/trunk.

On 10 September 2012 16:35, Luc Frauciel <[email protected]> wrote:
> Hi Robert,
>
> There was a discussions a few years ago about sRGB Framebuffers :
> http://forum.openscenegraph.org/viewtopic.php?t=3956
> but it seems that the FRAMEBUFFER_SRGB string hasn't hit osg by then (only
> sRGB textures).
>
> This patch on svn version of GL2Extensions adds the string
> GL_FRAMEBUFFER_SRGB  as defined in :
> http://www.opengl.org/registry/specs/ARB/framebuffer_sRGB.txt
> This was previously an extension called GL_FRAMEBUFFER_SRGB_EXT
> http://www.opengl.org/registry/specs/EXT/framebuffer_sRGB.txt
> And the string is included in core OpenGL3.
>
> stateset->setMode( GL_FRAMEBUFFER_SRGB , osg::StateAttribute::ON);
> suffice to activate the fonctionnality.
>
>         Luc
>
>
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to