Hi, I've been using osgShadow for some time now, but I've recently experienced some strange things with it.
I noticed that everything was working just fine when i don't use cast/receive traversal masks, but when I start dealing with them, my shadows just become ugly dark squares. Note that I am using the MinimalShadowMap class. I found a little fix in the file StandardShadowMap.cpp : I just commented the lines 731/732 : _cv->setTraversalMask( traversalMask & _st->getShadowedScene()->getCastsShadowTraversalMask() ); and now it works fine. I wonder if this binary "&" has been added by mistake (maybe it should be a "|" ?), but again simply commenting this line did the job for me. I hope I'm not removing a secret dark feature :) Thank you! Cheers, Bruno ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=31712#31712 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org