outline not working with surface shaders
JesseLeeuwen opened this issue · comments
I want to add outline to some object in my scene to separate them from the background. The outline wont show with my materials but works fine with the default unity materials see image:
shader file:
SHD_ToonShader.zip
EDIT:
i found out that it doesn't show an outline when a object has a texture. I changed line 190 in OutlineEffect.cs to:
outline.Renderer.sharedMaterials[m].mainTexture = null;
Hummm I tried replicating it with your shader but I can't. Can you send me a project that replicates the issue?