1
$\begingroup$

I would like my mountain to be invisible after rendering. And I want just Objects in front of it (like trees) to be seen, but not behind the mountain.

$\endgroup$
6
$\begingroup$

To make the object transparent as alpha channel:

  • use a holdout shader so it renders as transparent

    enter image description here

  • Place the object on a different layer and use that layer as mask:

    enter image description here

  • Use a Pass index for the object and use that on the compositor to substract the object from the final render:

    enter image description here (click on the image to enlarge)

  • Similarly, you can assign a pass index to the material and use that as alpha on the compositor:

    enter image description here (click on the image to enlarge)

$\endgroup$
  • $\begingroup$ What i tried to do was making things behind the mountain invisivle, while it was invisible itself. Holdout worked together with transparency. $\endgroup$ – Data Mar 2 '16 at 18:45
  • $\begingroup$ I would like to upvote this more than once. $\endgroup$ – Mörkö Mar 2 '16 at 21:11

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.