> If you to disable OpenGL lighting then you'll need to disable 
> via a GL_LIGHTING mode i.e.
> 
>  viewer.getCamera()->getOrCreateStateSet()->setMode(GL_LIGHITNG,
> osg::StateAttribute::OFF);

Yes, I think this is what I recommend in the Quick Start Guide. Lighting is
just state that you can disable or override in your scene graph if you don't
care for the default behavior.

I think a lot of the confusion regarding lighting comes from the fact that
the OSG default doesn't match the OpenGL default.
   -Paul

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to