Hi, I have implemented a simple lighting model with specular highlights. It works fine with the default HEADLIGHT from the osgViewer, but when I override GL_LIGHT0 with a new Lightsource it is not working anymore. I have set ambient, diffuse and specular values for the lightsource. Is there anything I have forgotten? Because it works fine with the headlight, the problem seems to be at my new lightsource. Perhaps someone can tell me where the default lightsource is set for the osgViewer, I have searched the code, but have not found what i was looking for. Thanks for every hints.
Marcus _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

