I need a plane to act as a mask. I want objects in front of it to show up, objects behind the it to not show up, and where the plane would have rendered to be transparent pixels.

You can think of it as the plane being a green screen and then keying out the green. (I tried implementing this as a green screen in the scene, but this cause problems like green light bouncing off the plane and imperfections around the edges.)

In short, is there a way to cause an object to not effect light in the scene and all of it's visible pixels to cause transparent pixels on the render?


You can achieve this using a holdout shader, just don't forget to enable transparency in your render settings:

enter image description here

  • $\begingroup$ Is there something similar for Eevee? $\endgroup$ – Dennis Ranish Nov 21 '19 at 22:00
  • $\begingroup$ The same thing ;) $\endgroup$ – L0Lock Nov 21 '19 at 22:01
  • 1
    $\begingroup$ Never-mind, I still had blender v2.80, it works in blender v2.81. $\endgroup$ – Dennis Ranish Nov 21 '19 at 22:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.