Hi Bart, You'll simply need to go through you scene graph and remove the osg::LightSource nodes and an places where GL_LIGHT0... etc. are enabled.
Robert. On 26 June 2012 16:24, Bart K <[email protected]> wrote: > Hi, > > I am building a deferred rendering system in open scene graph and all > work well, except for one part. > > There can be many more lights than the default of 8 and this causes OSG > to post many warnings. gDebugger for instance halts on glEnable(GL_LIGHTX) as > the X goes beyond 7. > > I tried turning of the lights by setting View->setLight(NULL); > I also tried removing the entire lightsource from the scene as it is only > used for obtainin the properties exported from 3DS max. > > Still no luck. > So, my question is, how can i get rid of the FFP lights? > > Regards, > Bk- > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=48533#48533 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

