[osg-users] osgText::Text background color

Michele Bosi michele.bosi at gmail.com
Fri Jan 4 09:06:24 PST 2008


Hello,
in my application I am using some osgText::Text objects to render some
short text, but unfortunately is not so easy to read.
I tried to put an outline and drop shadows using the function
setBackdropType() but with very poor results.
I was wondering if there was a way to make OSG draw the background of
the text with a given color/transparency and eventually if
one could visualize a frame around the text. I think I saw it done
somewhere but cannot recall where...

Thanks,
Michele


More information about the osg-users mailing list