Hi Wojtek,

MinimalShadowMap::ViewData::computeShadowReceiveingCoarseBounds() is
good place to start looking. Check what are the dimension of returning
volume. Good hunting ;-)

Thanks for the hint. I'll look there. In the mean time I did more testing and found that even now that I've changed the renderbin to a non-negative number, the skydome (which I remind you is set to NOT cast NOR receive shadows) still interferes with shadows. From some angles, when the skydome is active, the shadows on the crane (our main object) turn all black. If I disable the skydome then the shadows are correct.

The turning on and off of the skydome is just switching the node mask of its root node between 0 and (FFFFFFFF & ~CAST & ~RECEIVE) which are single-bit masks.

So I really think that there is somewhere that's traversing the skydome where it shouldn't, and setting the mask to 0 makes it really not traverse it... I'll check.

Thanks,

J-S
--
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to