Switched off lighting in osgcatch.

This commit is contained in:
Robert Osfield
2007-01-02 12:19:26 +00:00
parent dda72a16e8
commit db7df9d6d4

View File

@@ -1560,6 +1560,8 @@ int main( int argc, char **argv )
// creat the scene from the file list.
osg::ref_ptr<osg::Node> rootNode = seh->createScene();
rootNode->getOrCreateStateSet()->setMode(GL_LIGHTING, osg::StateAttribute::OFF);
//osgDB::writeNodeFile(*rootNode,"test.osg");
// set the scene to render