Hi,
how can I translate my light to view space?
I use osg::light.

osg::Light* myLight = new osg::Light();
myLight->setPosition(osg::Vec4(10, 10, 3, 0));

And how to trans. it to view space?
UnSeal
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to