[osg-users] osgFX::Outline lose material color while GL_LIGHTING set OFF

Robert Osfield robert.osfield at gmail.com
Thu Aug 29 00:37:11 PDT 2019


Hi GG,

I'm not the author of osgFX::Outline so the only way for me to give you
more information would be to reach through the code myself and then pass on
my interpretation.  This is something you can do too, and would recommend
as you are the one that wants to learn about it.

As a general note, osgFX is very old part of the OSG and hasn't been
touched much since it was written.  It was written prior to the development
of modern OpenGL features so if I were to write effect these days I would
write them from scratch rather than rely upon osgFX.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190829/71281fbc/attachment.html>


More information about the osg-users mailing list