While working with shadow I stumbled across the problem.  I am using
LightSpacePerspectiveShadowMapDB. If am passing the light from the viewer to
minimalshadowmap(base class of LightSpacePerspectiveShadowMapDB), then the
shadow doesn't works. If I don't intitialize it with the viewer's light(or
any other light). Then it gives some shadow at the beginning, but its not
updated with the lights in the scene. If I don't give the light, which light
it uses? What I could be doing wrong? One more thing, what is meaning of
global light of scene in terms of OpenGL?

Thanks

 

Cheers

Sumit Pandey

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to