Use a mesh to occlude the objects behind it
Select the material you want to turn into the occluder. In this example, we are editing the material attached to the
Attach a simple shader such as the
Unlit Color to avoid spending too much processing time.
Color Write and
Alpha Write. This will render the depth but none of the color data, resulting in the objects behind this one being occluded.