> From: [EMAIL PROTECTED] [mailto:osg-users- > [EMAIL PROTECTED] On Behalf Of Dave Pugmire > Sent: Thursday, August 23, 2007 4:51 PM > To: osg-users@lists.openscenegraph.org > Subject: [osg-users] Light sources > > Hi, > How many are allowed? I'm having trouble getting multiple lights. One > seems to work fine, but not 2 or 3. Does something need to be enabled? > > Thanks, > Dave >
The limit is implementation dependent, but the minimum value allowed for GL_MAX_LIGHTS is 8, so that's not your problem. We regularly have scenes with 8, so it isn't an OSG bug. Are you sure you've got the indices all matched up between the modes and the attributes? -MPG- _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org