[osg-users] texturedShadow problem

2009-06-09 Thread Hadas Divip
Hi all, I'm working on inserting the shadow capability to our app. for learning purpose i created a small and simple program. if i don't add camera to the scene - i do see the shadow, but when I add a camera to the scene - i don't . I'm sure i'm missing something and/or doing something wrong b

Re: [osg-users] shadow and cameras

2009-06-02 Thread Hadas Divip
Thank you Robert, I did looked at the example and also created a scene with an osg::ShadowedScene in it (passed to the viewer) and saw the objects casting shadow on each other, however, when repeating these steps in my application that has a camera node that is the parent of all my scene's obje

Re: [osg-users] shadow and cameras

2009-06-02 Thread Hadas Divip
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 os