|
Hi All, I have an osg::StateSet with a texture map. I
would like to disable the texture map during run time but not lose the texture
map pointer. I have tried using; stateset -> setTextureMode(
TEXUNIT_0, GL_TEXTURE_2D,
osg::StateAttribute::OVERRIDE|osg::StateAttribute::OFF ) ; but the object remains textured. Is there something else I
have to do? Regards, Andy ________________________________________________________________________ This e-mail has been scanned for all viruses by Star.The service is powered by MessageLabs. ________________________________________________________________________ |
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
