Is it possible to create an occluder material in Eevee? i.e. have a material that only writes to the depth buffer, so the object will occlude objects behind it without rendering a visible color.

Like this in three.js / webGL – https://stackoverflow.com/questions/28869268/three-js-transparent-object-occlusion

  • 1
    $\begingroup$ Is this simply a Holdout, achievable as a shader, or as a collection setting? (slightly different from your example, without further compositing) $\endgroup$
    – Robin Betts
    Commented Sep 22, 2023 at 10:37
  • $\begingroup$ @RobinBetts ahh yes, this is what I was looking for, thanks! $\endgroup$
    – Ash
    Commented Sep 22, 2023 at 20:09
  • $\begingroup$ @RobinBetts could you add your comment as an answer? I'll mark it as solved. $\endgroup$
    – Ash
    Commented Sep 29, 2023 at 20:14


You must log in to answer this question.

Browse other questions tagged .