Render Layers - revisited

Not sure if this is possible, but I am trying to figure out how to render separate layers (for latter compositing in Photoshop), but have foreground objects obscure background objects or more accurately pieces of them, as seen from the camera… I’ll include an illustration for example.


Put model and ribbon on separate layers and use the Mask Layers
See attached blend file


Attachments

mask.blend (118 KB)


Thanks Richard, I had forgotten about the mask layers…

Bill

Oh, one last question. Is there any way to make that work with an imported image plane with an alpha or transparency layer? I’m using a standard Diffuse/Transparency shader node setup, and the alpha channel of the image to drive them. As is the mask is just the image plane

Please see previous thread:

Is there any way to make a Mask Layer work (as shown below), with an imported image plane and alpha layer?
I’m using a standard diffuse/transparency shader node setup, with the alpha channel of the image to drive them.
The figure is an imported .png file with transparency.

See example below: