Re: [osg-users] problem with osgFX::SpecularHighlights

2011-04-18 Thread Lv Qing
Hi, It works! Thank you! Cheers, Lv -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38558#38558 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] problem with osgFX::SpecularHighlights

2011-04-17 Thread Jean-Sébastien Guay
Hello Lv, when shl-setLightNumber(8) it prints Warning: detected OpenGL error 'invalid enumerant' at after RenderBin::draw(..) when set Light Numbe below 8 ,it is OK. The OpenGL fixed pipeline supports up to 8 lights, indices 0 to 7 (enumerants GL_LIGHT0 to GL_LIGHT7). So index 8 is