Hi Wojtek, I have done various tests with the osgShadow demo. All three versions of the LightSpacePerspectiveShadowMap (VB/CB/DB) have the same precision problem even if setModellingSpaceToWorldTransform() is used. I did the following to reproduce:
Simulate a "large" database by changing osgShadow demo line 371 to: osg::Vec3 center(30000000.0, 30000000.0, 30000000.0); Execute the demo with the following: osgshadow --directionalLight --lispsm --ViewBounds --debugHUD -2 osgshadow --directionalLight --lispsm --CullBounds --debugHUD -2 osgshadow --directionalLight --lispsm --DrawBounds --debugHUD -2 Any ideas? Thanks a lot for your effort! Cheers, Marius ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21919#21919 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org