Added vertical offset to multiple movies instances
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user