Hi Wojtek,
Look inside the MinimalShadowMap::ViewData::computeShadowReceiveingCoarseBounds method. ComputeBoundingBox visitor has node mask set to cast shadow bitmask before visitor is run on ShadowedScene graph. I did not mean more than this.
Hmmm, changing it to use the ReceivesShadow mask didn't improve my problem of the shadow changing when I enable/disable the skydome, it's still there. Plus, it made the shadow aliasing worse which is surely a problem of not setting the receives shadow flag to false everywhere we should... So in our case it also works by accident the way it is. ;-)
If you decide to "fix" it let me know so I can fix our scenarios :-) J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

