robertosfield wrote: > Hi GG, > > > When you switch off fixed function lighting via GL_LIGHTING you change the > way that OpenGL's fixed function pipeline is configured so it no longer uses > the glMaterial/osg::Material values and only uses the glColor/ColorArray > (osg::Geometry::setColorArray(..) values. > >
Thanks, Robert. The color issue is about line which osgFX::Outline producted, not about osg::Drawable itself. I meant when I switched off GL_LIGHTING related with Drawable, the color of outline went wrong. I checked the source about osgFX::Outline and found that it used a class of Outline::OutlineTechnique derived from osgFX::Technique. I don't very understand the mechanism about osgFX::Effect. I would appreciated it if you give me some information about mechanism osgFX::Effect used. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76617#76617 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org