Hi Community, for some reason I can not disable lighting in the RTT scene. The scene is being rendered with the main scene lighting ON. I tried the basics things like
geode->getOrCreateStateSet()->setMode( GL_LIGHTING, osg::StateAttribute::OFF|osg::StateAttribute::OVERRIDE ); I even tried to override it with a shader still lighting is applied to the whole scene. I see changes when pressing 'l' in the osgviewer (extended sample) Any clue, hints? Thanks a bunch! Nick -- trajce nikolov nick
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org