Hello all,

I am trying to add dynamic shadows to my scene and so far
osgShadow::LightSpacePerspectiveShadowMapVB seems to produce the best
results [*].  Unfortunately, one problem I am encountering is that
shadows cast by geometry located to the side or behind the camera get
clipped, leading to a number of artifacts.  For example, standing
outside a building with the "sun" to your back, the shadow map correctly
projects the outline of a doorway onto the floor.  However, once the
camera enters the building, the wall is clipped and this causes the
entire room to be illuminated.  This is a very noticeable and
undesirable effect.  How can I mitigate this problem?

[*] I had high hopes for PSSM based on reading about the technique but
so far neither osg 2.8.3 nor 2.9.10 produce correct results for me. 

Thanks!

-- 
Peter Amstutz
Senior Software Engineer
Technology Solutions Experts
Natick, MA
02131

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to