If I render a scene with a sphere, a plane and an overlapping block, I get the render attached (see All In One Pass). I'm having trouble rendering out exactly the same thing in three passes; Pass 1: sphere, Pass 2: Block, Pass 3: Plane.
Here's how I do it:
- Sphere Pass: I uncheck 'Visible to Camera' for the plane and I apply a M/S/R material to the block. This results in the red block not being present in the reflections???
- Block Pass: I uncheck 'Visible To Camera' for both the block and the plane.
- Plane Pass: I uncheck 'Visible To Camera' for both the block and the sphere.
It's the sphere pass with an overlapping object that is problematic. By applying a M/S/R material I lose the object's reflection but I don't know how to get a render of the sphere, without the overlapped part, otherwise. This is for a more complicated animation so I need to know a proper method of doing this.
All In One Pass:
Sphere Pass (missing the reflection of red block):