- Home /
Apply a Outline shader to multiple materials
I want to show an outline over a model, but this, is splitted in multiple materials.
¿How can i prevent showing the line between their connections?
If you see the image, an outline is shown between the head and the body since those are the material limits.
This is the shader that i'm using: http://wiki.unity3d.com/index.php/Silhouette-Outlined_Diffuse
Did you ever receive an answer to this question? I'm running into the same problem. I have the eyes as separate objects on my model and when I use this shader on the main model, it creates an outline around the eyes in addition to the exterior. I imagine there has to be some way to adjust this or exclude children objects from being treated as separate objects.
nope, i removed the feature that required it from my game.
Well that's a bummer. Thanks for responding at least.
Answer by jon_underwood · Jun 20, 2020 at 04:42 PM
Hey @w34edrtfg and @johnCpr I was able to get 'Quick Outline' by Chris Nolet - from asset store - working on objects with 2 materials.
My fbx gameObject was exported from 3ds Max. The import settings seen in unity needed to be as below
[1]: /storage/temp/162432-outline-renderer-working-with-2-materials-b.jpg
Answer by johnCpr · Jul 16, 2018 at 09:42 AM
Did anyone figure out how to solve this!
Ex6tra's code at the bottom of this thread worked for me: https://answers.unity.com/questions/1737691/quick-outline-does-not-work-with-multiple-material.html
Your answer
Follow this Question
Related Questions
QuickOutline: how can I change the shader to work with objects with two materials? 3 Answers
Outline diffuse shader (toon) : no results? 1 Answer
Shader Edit Help: 2D Outline Coloring 2 Answers
Object outline component 0 Answers
Outline Shader HELP 0 Answers