1
$\begingroup$

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?

$\endgroup$

1 Answer 1

3
$\begingroup$

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

enter image description here

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .