HI Andreas,

On 8 July 2016 at 16:24, Andreas Goebel <[email protected]> wrote:
> with the minimal shadow map technique text-objects cast shadows (which
> is what I want).
>
> But it seems that the text objects are auto-rotated towards the light
> during shadow rendering.
>
> Is there a flag to disable the auto-rotation as long as the
> shadow-camera is making it´s shot?

osgText doesn't know anything about being used within osgShadow so has no way of

> If not, what would be a good way to implement that?

You would need to disable the auto-rotate in osgText then place a
transform above the osgText drawable to place it in the right
orientation and have this transform be updated once each frame.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to