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

Franco Tang osgforum at tevs.eu
Mon Sep 2 19:18:35 PDT 2019


Ulrich Hertlein wrote:
> Hi Franco,
> 
> From the png I understand that you have a Group with Geodes A and B.
> The effect will *always* be applied to the entire node that it's attached to, so if you
> want to have the outline only on A or B then you must attach the effect to A or B, not the
> parent Group.
> 
> Hope this helps.
> 
> Cheers,
> /Ulrich
> 


Thank you, Ulrich. I had using a C++ way to solve the problem. I overrided the way of Outline traversing. 

Cheers
Franco

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







More information about the osg-users mailing list