Hello. Lets say there is cessna as a child in LightSource group. LightSource has 1 light.
What i want to do is to get the depth map from light's point of view. How can i do this ? I am thinking of placing a Camera as a child in LightSource. This camera will look at exactly the same direction as the light and will also has the same position. Is this the right way to do it ? ( I know how to make camera render to texture) Thank you for your time. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org