Martin Beckett wrote:
I have some text labels in my scene, but when I switch the polygon mode (eg
with the 'w' key in osgviewer) the text is rendered broken (in line mode) and
dissapears (in point mode). How do I force osg::PolygonMode::FILL, or force
text to ignore it?
I tried:
Code:
label->getOrCreateStateSet()->setMode(GL_POLYGON_MODE, osg::StateAttribute::ON);
I think you'll want to OR in the PROTECTED flag, right?
-Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org