Turned off lighting.

This commit is contained in:
Robert Osfield 2005-02-04 20:36:50 +00:00
parent 3054a612bd
commit b5f1d50377

View File

@ -227,6 +227,7 @@ int main(int argc, char** argv)
{ {
osg::Image* image = osgDB::readImageFile(arguments[i]); osg::Image* image = osgDB::readImageFile(arguments[i]);
geode->addDrawable(createTexturedQuadGeometry(pos,image->s(),image->t(),image)); geode->addDrawable(createTexturedQuadGeometry(pos,image->s(),image->t(),image));
geode->getOrCreateStateSet()->setMode(GL_LIGHTING,osg::StateAttribute::OFF);
} }
} }