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.
$\begingroup$
$\endgroup$
2
-
1$\begingroup$ You can also adjust your camera's clipping distance, but it will no doubt clip your sky as well. Render Layers may be another option as well. $\endgroup$– Rick RiggsCommented Mar 2, 2016 at 18:44
-
$\begingroup$ Possible duplicate of How can I make an object invisible when I render in Cycles? $\endgroup$– someonewithpcCommented Mar 2, 2016 at 22:31
Add a comment
|
1 Answer
$\begingroup$
$\endgroup$
2
To make the object transparent as alpha channel:
use a holdout shader so it renders as transparent
Place the object on a different layer and use that layer as mask:
Use a Pass index for the object and use that on the compositor to substract the object from the final render:
Similarly, you can assign a pass index to the material and use that as alpha on the compositor:
-
$\begingroup$ What i tried to do was making things behind the mountain invisivle, while it was invisible itself. Holdout worked together with transparency. $\endgroup$– DataCommented Mar 2, 2016 at 18:45
-
$\begingroup$ I would like to upvote this more than once. $\endgroup$– MörköCommented Mar 2, 2016 at 21:11