Hi everyone,

First of all, merry christmas and a wonderful new year to all of you! All the best and health!

I have a small question to make sure that I understand the lighting properly. I am using GLSL to do my lighting and I would like to be 100% sure that the call
stateSet->setMode(GL_LIGHT0 + id, osg::StateAttribute::ON);
is not necessary for lighting with GLSL. I assume that this call is for fixed functionality OpenGL only, is this correct? Or is it used for other purposes too?

Thanks, cheers
Raymond

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to