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); } }