[osg-users] Change attribute values of osgProducer::Viewer::HEAD_LIGHT_SOURCE and SKY_LIGHT_SOURCE

Robert Osfield robert.osfield at gmail.com
Tue Sep 18 11:56:45 PDT 2007

Hi Tommes,

You are probably best just to stick a LightSource in the scene.  See
the osglight example.


On 9/18/07, Tommes <tommesi at web.de> wrote:
> I am using OSG 1.2 and an osgProducer::Viewer, set up with the
> HEAD_LIGHT_SOURCE and the SKY_LIGHT_SOURCE. In generell I am happy
> with these two light sources, but I would like to change some values
> somewhat (e.g. the ambient color). How can I access these attributes?
> Thanks in advance.
> \Tommes
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list