Hi,
well, even if it's now over a year of your last posts here are some points that
might help others.
We had a similar problem when using the Cull Mask for showing and hiding
objects.
If you set the Cull Mask a camera using
setCullMask(NODEMASK_SHOW);
then you also have to tell the ShadowedScene about it.
We did this by
shadowedScene->setReceivesShadowTraversalMask(NODEMASK_RECEIVESSSHADOWTRAVERSALMASK
| NODEMASK_SHOW);
and
shadowedScene->setCastsShadowTraversalMask(NODEMASK_CASTSSHADOWTRAVERSALMASK |
NODEMASK_SHOW);
Now shadows are working as expected.
Best regards,
Johannes
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43423#43423
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org