Hi, 

I am trying to work with osgShadow in my application. Node graph is bit more 
complicated than osgShadow example and I see a problem with shadow map not 
rendered to shadow texture (its empty - filled only with clear depth value). 

One thing that I may do wrong is use of ShadowScene. We do not use it as scene 
root but instead place down in the hierarchy under a chain of parent nodes. Is 
it allowed ? Or ShadowedScene won't work if not passed as root node to 
Viewer->setSceneData ?

We are heavily using node masks for terrain intersections and this somewhat 
restricts recommended CastsShadow  ReceivesShadow mask approach. Thats why we 
placed shadowed nodes down in the graph hierarchy.

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

Reply via email to