diff --git a/examples/osgmovie/osgmovie.cpp b/examples/osgmovie/osgmovie.cpp index 60f108a3d..a1145b2ed 100644 --- a/examples/osgmovie/osgmovie.cpp +++ b/examples/osgmovie/osgmovie.cpp @@ -252,6 +252,8 @@ 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); + + pos.z() += image->t()*1.5f; } }