On 7/26/07, Johan Johnsson <[EMAIL PROTECTED]> wrote:
> Is there any quick way to disable light when you build a simple cube by
> vertices.

geometry->getOrCreateStateSet()->setMode(GL_LIGHTING, osg::StateAttribute::OFF);
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to