Hi Anders,

Try putting an empty osg::Program in the stateset for the text geodes

Nick


On Thu, Oct 31, 2013 at 11:24 AM, Anders Backman <ande...@cs.umu.se> wrote:

> Hi all.
>
> Assume I want to add text following an object in the scenegraph, so I
> create a geode with text below a MatrixTransform in the scene.
>
> Now assume I want to disable shadows (when ShadowMap) for the text
> (obviously).
> Is the only way to do that, to have a separate graph for the text (without
> a ShadowedScene node above)?
>
> The setReceivesShadowTraversalMask does not apply for ShadowMap (which I
> noticed after some testing).
> But is there any other way?
>
> /Anders
>
>
> --
> __________________________________________
> Anders Backman, HPC2N
> 90187 UmeƄ University, Sweden
> and...@cs.umu.se http://www.hpc2n.umu.se
> Cell: +46-70-392 64 67
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to