Is blending enabled in the scene graph? ie
rootNode->getOrCreateStateSet()->setMode(GL_BLEND,osg::StateAttribute::ON);


On Fri, Jul 19, 2013 at 3:05 AM, Xiangfei Cui <sophist...@gmail.com> wrote:

> Hi,
>
> There are two osg::Drawables. One is a filled red polygon, the other is a
> white Text on the polygon. I wish as to the Text's background is
> transparent  so I can see red background, but the result is wrong. as to
> the figure:
>
>
> Thank you!
>
> Cheers,
> Xiangfei
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=55288#55288
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/qq20130719120253_166.bmp
>
>
> _______________________________________________
> 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

Reply via email to