See Behind object shader

Deo 3 years ago • updated by Joachim Holmér (Developer) 5 months ago 3
Is there any way to create shader to see behind object?

Like this one  >>>>   http://wiki.unity3d.com/index.php/Silhouette-Outlined_Diffuse
You might be able to set it up using multiple shaders, but it's something that requires a multi-pass shader, which is currently not supported at all, I'm afraid

Is this possible now? If so how?

You can set the depth test of a shader to only draw behind objects, or you can use the stencil buffer to mask specific things