[osg-users] osgText and shaders

Thomas Francois thomas.francois at capgemini.com
Wed Aug 10 06:23:26 PDT 2016


Hi,

In my application I got some text displayed using osgText::Text. I would like to alter this text using shaders. However, I wish to apply a different treatment to each letter individually. 

For now, I only managed to process the text as a whole.

Is there a way to either distinguish the letters in the shader, or to link each letter to its own shader?

I am working with OpenSceneGraph 3.4.0.

Thank you!

Cheers,
Thomas

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68338#68338








More information about the osg-users mailing list