Trajce Nikolov wrote:
Hi Jason,
that is what I exactly did. I put the PROTECTED there becaouse the
parent has OVERRIDE set on it. Did not worked :-) ...
You put PROTECTED on all three of the childState settings? Like this:
childState->setTextureAttributeAndModes(0, childTex,
osg::StateAttribute::ON | osg::StateAttribute::PROTECTED);
childState->setTextureMode(1, GL_TEXTURE_2D, osg::StateAttribute::OFF |
osg::StateAttribute::PROTECTED);
childState->setTextureMode(2, GL_TEXTURE_2D, osg::StateAttribute::OFF |
osg::StateAttribute::PROTECTED);
If that doesn't work, it does sound like a bug.
--"J"
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org