I was messing around with render layers and passes in cycles and was trying to render a layer where object1 was intersected by object2 however object2 was on a separate layer that was not being rendered; so instead of object1 being cut in half and the portions of object1 would not not be visible had all the layers been rendered remaining invisible, ( was hoping they would be transparent) they are visible.

Here is the image with all the layers rendered at once:

rendered image with all layers

Here is the layer with only object1 rendered (note: it is reflecting objects from other layers but the objects themselves are not rendered):

layer with object1 only

You'll notice that the portion where the cube is in front of the glossy pain (object1) and more visibly where the glossy pain intersects the ground (in this case both the ground and the cube are object2) are rendered, however I wish to have theses arias of the glossy pain to be hidden so that this layer can be used in compositing. Is there a way to do that? I'm thinking something to do with the Light Path node in object1's texture but I can't figure it out. If this question doesn't make sense or you need clarification let me know.

  • $\begingroup$ In renderlayers you need to select the ones with other objects in the Exclude part $\endgroup$
    – J Sargent
    May 12, 2015 at 19:37
  • 1
    $\begingroup$ Thanks for that! It's so obvious now but hey (note: I excluded in the mask layer section to get it to work not the exclude, so the block of boxes next to the exclude, this is for anyone coming to this after the fact to fin the answer for themselves) $\endgroup$
    – Micro
    May 12, 2015 at 19:41
  • $\begingroup$ @NoviceInDisguise Would you like to stick that in an answer? $\endgroup$
    – PGmath
    Jul 16, 2015 at 2:08
  • $\begingroup$ @PGmath Done :) $\endgroup$
    – J Sargent
    Jul 16, 2015 at 15:11

1 Answer 1


You need to use the Exclude boxes for this. Go to Properties > Render Layers and make sure all the layers including the objects you do not want to have render on that layer are selected in the Exclude portion. This will basically do the same thing as hiding it, but for that render layer only.

Exclude Layers From Renderlayer


You must log in to answer this question.

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