0
Odrzucone

See Behind object shader

Deo 10 lat temu Ostatnio zmodyfikowane przez Freya Holmér (Developer) 7 lat temu 3
Is there any way to create shader to see behind object?

Like this one  >>>>   http://wiki.unity3d.com/index.php/Silhouette-Outlined_Diffuse
Odrzucone
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