Hi Adas, To use the osgShadow library you just decorate the scene you want to add shadow to with an osgShader::ShadowedScene. See the osgshadow example for guidance on how to do this.
RObert. On Tue, Jun 2, 2009 at 9:35 AM, Hadas Divip <ha...@dvp.co.il> wrote: > Hi, > > We need to add shadow to our existing application that is using osg . > In the application there is already a camera + usage of shaders. > what is the method i should use in order to use osg::shadow (either using > map or texture modes)? > > Can i use osg::ShadowedScene or am I to copy and merge osg::shadow > implementation into my code > > Thanks! > > hadas > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=13326#13326 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org