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.
-
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 RiggsMar 2, 2016 at 18:44
-
$\begingroup$ Possible duplicate of How can I make an object invisible when I render in Cycles? $\endgroup$– someonewithpcMar 2, 2016 at 22:31
1 Answer
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$– DataMar 2, 2016 at 18:45
-