Hi Bryan,
osg::Light is a StateAttribute and osg::LightSource is a Group, so Light
represents the OpenGL state (like the light ID) for a light in the scene, and
LightSource represents the location of that light (note that LightSource has a
Light).
And why there is LightSource? What is meaning of it? I think, I can live
just with osg::Light. And really, I used only osg::Light in my
application. Is there any reason for me or anyone else to use
osg::LightSource?
John
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org