HI Filip,
osgText::Text assigns it's StateSet from the Font's StateSet that
provides the textures required for the text.
If you want to provide your own StateSet attach it to the Geode above
the Text drawable.
Robert.
On 29 August 2012 13:37, Filip Arlet wrote:
> Hi,
>
> I have problem with osgText::Text and stateset, osgText is drawable, why
> isn't pushed my custom StateSet attached to it to StateSet stack in
> osg::State when rendering ?
>
> Thank you
>
> Cheers,
> Filip
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=49663#49663
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org