Hi All. I'm using an old version of OSG, ver 1.3. I noticed a very strange behavior. I set the material props (actually just the DIFFUSE component) in the state set of a geode. But, by mistake, I had also disabled lighting. So, I would have expected that the object was drawn using the default primary color of OpenGL, but it wasn't. The object was drawn using as the primary color what I set as the diffuse component of the material props. How is it possible? Obviously if I did it using pure OpenGL, when lighting is disabled it always uses the primary color.
Thanks, Gianluca Natale
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

