Hi Wojtek,
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.
I remember now that you mentioned this before in this thread. So I wonder if it just appears that it works in DrawBounds because I'm testing with a small scene.
But from what I can see, the update is done by the MinimalDrawBoundsShadowMap::CameraPostDrawCallback which is attached to the _boundAnalysisCamera. It does this by by calling _vd->performBoundAnalysis( camera )... which calls the base class frameShadowCastingCamera() method. So I think it's OK.
Thanks a lot for your help, 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

