Hello.

In my scene I have set up the SceneView to use SKY_LIGHT with
setLightingMode().
I also have access to the osg::Light object form the SceneView, but when
changing the direction or material of the light, nothing really changes in
the rendering.

Do I need to use the apply() funciton on the light? If so, which State am I
going to use? (Not to familiar with that part yet)...

Regards, Werner Lindgård.


_______________________________________________
Werner Lindgård, Programmerer
Telephone   +47 67 81 70 00
Direct line     +47 67 81 70 68
[EMAIL PROTECTED]

ViaNova Systems AS
Leif Tronstads Plass 4, P.O.Box 434
N-1302 Sandvika, Norway
________________________________________________

http://www.vianova.no
http://www.novapoint.com

________________________________________________

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to