Select the material you want to turn into the occluder. In this example, we are editing the material attached to the occluderHead.

Attach a simple shader such as the Unlit Color to avoid spending too much processing time.

Then Disable 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.

Did this answer your question?