From Mike Weiblen, switched off lighting of points to make them clearer

This commit is contained in:
Robert Osfield 2005-11-15 08:56:05 +00:00
parent 6268001c66
commit dd622d7a9a

View File

@ -103,6 +103,7 @@ osg::Node* createScene(unsigned int noStars)
osg::Geode* geode = new osg::Geode;
geode->addDrawable(geometry);
geode->getOrCreateStateSet()->setMode(GL_LIGHTING,osg::StateAttribute::OFF);
osg::Group* group = new osg::Group;
group->addChild(geode);