Hi, I have some basic questions about the light setup in osg. I looked at the example osglight. It seems there is a osg::Light class and there is a osg::LightSource. One is state attribute and another is a group. Can someone explain practically how a light and lightsouce work together. For example, if I have a geode that has normal and material set up. How do I enable OpenGL lighting on it using osg::Light and osg::LightSource?
Thank you! Cheers, Rabbi ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=14566#14566 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

