Hi, I found a bug when setting lighting mode to NO_LIGHT on a osg::View. The HEADLIGHT was still present, and no way to remove it. After some investigations, i found that the osgViewer::Renderer does not take into account the lighting mode of the view. It is always set to HEADLIGHT. So i modify the Renderer constructor to handle it and it works (no light!) but maybe i miss something... Fabien
______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
Renderer.cpp
Description: Renderer.cpp
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
