SCNTechniqueGlow icon indicating copy to clipboard operation
SCNTechniqueGlow copied to clipboard

So how can I apply various outlines to different objs?

Open chenzhutian opened this issue 6 years ago • 3 comments

Hi, thanks for your repo. So if I want to apply outlines with different colors to different objects, how can I achieve that? It seems that the technique will be applied to all the objects in the scene, which means I cannot set different glow color for different objects.

Many thanks.

chenzhutian avatar Mar 18 '18 02:03 chenzhutian

Ya that's not possible with the current code. Only objects with the category bit mask set will be highlighted. You could add more rendering passes for each glow color and then combine them. It might be possible to do multiple glow colors in one pass, but that would take some thinking. Check out this blog post for some technique examples: http://blog.simonrodriguez.fr/articles/26-08-2015_a_few_scntechnique_examples.html

cclaan avatar Mar 18 '18 17:03 cclaan

thanks a lot!

chenzhutian avatar Mar 24 '18 02:03 chenzhutian

Did anyone find any solution so far?

arturdev avatar Apr 16 '21 19:04 arturdev