Serge, I have no access to the code now. All techniques derived from osgShadow::ShadowMap share this limitation. If my memory serves me right they all ignore ReceivesShadowTraversalMask. But many tricks or graph rearangments were discussed earlier. For example look at this thread: http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg16581.html If you look carefully you should be able to find more such posts. Unfortunately I cannot offer more help at this time.
Cheers, Wojtek Lewandowski From: Serge Lages Sent: Wednesday, June 24, 2009 6:31 PM To: OpenSceneGraph Users Subject: [osg-users] osgShadow question Hi all, I am currently using osgShadow with the MinimalShadowMap technique. It works great but I have a question : - In my ShadowedScene, I set the children's nodemasks accordingly with the CastsShadowTraversalMask and ReceivesShadowTraversalMask properties, but it seems to not work, everything cast shadows on everything. Anyone knows if there is a way to force an object to not receive the shadows ? Even with a "dirty" method (reseting it's tex coords on the drawable or something like that). Thanks ! Best regards, -- Serge Lages http://www.tharsis-software.com -------------------------------------------------------------------------------- _______________________________________________ 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