Hi all

I  struggle to add a light to my viewer. I have the sky light illuminating the 
scene (light 0). Now I want to add a spotlight to illuminate the area right in 
front of my camera for night scenarios. I tried to attach the light to the 
scene and position it in a cull visitor in front of the viewer... but is there 
no way to attach the light directly to the camera node so that it is moved 
along with the camera? Anybody can give me some example code?

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

Reply via email to