🤔

Depth rendering#

Forcing a material to define its depth in space, at the cost of appearing solid to transparent objects that try to render behind it afterwards.

If you are using custom shaders, add ZWrite On.
URP and HDRP both have a Render Objects feature that can be used if your version of Shader Graph does not have Depth Write exposed.