I am looking for a way to occlude one cycle´s material against another like when we setup the render passes from the passes property for the scene in a "holdout" mode.
Think 2 spheres over a plane. One sphere overlaps the second one. You can "see through" the overlapped area. If I check "holdout" for one of the spheres, it also cuts out the plane. I only need the ray to instersect (exclude from rays) the intercepting object.
How can I accomplish this? - Thanks.
I am getting close to what I need using a boolean (substract) and a transparent shader...