Hi
Yes, that explains it. And it works, thanks a lot. Just to confirm, since both MinimalDrawBoundsShadowMap and MinimalCullBoundsShadowMap call MinimalShadowMap::frameShadowCastingCamera() and don't do anything to the camera's matrices after that, it should be safe for all variants to update the uniform in that method?
I tried it in DrawBounds and it seems OK, but I just want to be sure since I don't yet know the code that well.
I would expect DrawBounds may not work when others do. Thats because last update of matrices in DrawBounds is actually done in almost hackish way in the middle of render stage, I would expect that your uniform may not get updated then. But if you got DrawBounds to work, other should work as well.
Cheers, Wojtek _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

