Hello.
I try to turn off the lights in my scene using the following code but it fails.
group-getOrCreateStateSet()-setMode(GL_LIGHTING,
osg::StateAttribute::OFF || osg::StateAttribute::OVERRIDE );
When i use this though, the lights are turned off successfully.
Hello Peterakos:
Hello.
I try to turn off the lights in my scene using the following code but it fails.
group-getOrCreateStateSet()-setMode(GL_LIGHTING,
osg::StateAttribute::OFF || osg::StateAttribute::OVERRIDE );
Did you by any chance mean:
osg::StateAttribute::OFF |
2 matches
Mail list logo