From b5f1d503777116ee1746c3d4380dd66b08baf3ca Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 4 Feb 2005 20:36:50 +0000 Subject: [PATCH] Turned off lighting. --- examples/osgmovie/osgmovie.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/osgmovie/osgmovie.cpp b/examples/osgmovie/osgmovie.cpp index 023e7273f..58b7bcf55 100644 --- a/examples/osgmovie/osgmovie.cpp +++ b/examples/osgmovie/osgmovie.cpp @@ -227,6 +227,7 @@ int main(int argc, char** argv) { osg::Image* image = osgDB::readImageFile(arguments[i]); geode->addDrawable(createTexturedQuadGeometry(pos,image->s(),image->t(),image)); + geode->getOrCreateStateSet()->setMode(GL_LIGHTING,osg::StateAttribute::OFF); } }