I’m new with shaders, and I was watching a tutorial to add outlines to my model.
The tutorial was perfect, but I got a problem.
That shaders works with objects with one material, in my case, I have a model with 4 materials, and the shader works only with one material (I need to add the outline shader to the material array, and in my case, it detects only the last material)
Can anyone guide me to apply this outline to all my materials?
This is the video: https://www.youtube.com/watch?v=U51yrbgBmAo
(just the outline part 0:37 to 2:22)
I also tried another tutorial with a coded outline, but the result was the same, it only takes one material (in this case the hair material)
This is how it shows now: only the hair have the outline example