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

Franco Tang osgforum at tevs.eu
Mon Sep 2 19:14:46 PDT 2019


robertosfield wrote:
> 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.
> 
>  ------------------
> Post generated by Mail2Forum


Thank you, Robert. I had finished the work. It's outdated to use fixed-pipeline. I am a beginner to develop graphics application. I am learning how to improve my application using modern OpenGL.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76634#76634







More information about the osg-users mailing list