Hi, There is already support for doing this directly in osgText::Text, for example:
Code: text->setDrawMode(osgText::TextBase::DrawModeMask::FILLEDBOUNDINGBOX | TextBase::DrawModeMask::TEXT); text->setBoundingBoxColor(osg::Vec4(0.0f, 0.0f, 0.2f, 0.25f)); text->setBoundingBoxMargin(2.0f); Cheers, Jamie[/code] ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68070#68070 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

