Turned off lighting.
This commit is contained in:
parent
3054a612bd
commit
b5f1d50377
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user