I’m trying to composite a scene with two render layers; one layer is a torus and the other is an object inside the torus.
Given the camera angle, the torus in effect forms both the background and the foreground, with the mesh object in the middle.
The problem I have is that when I render these layers separately (for compositing purposes), I don’t know how to set the appropriate alpha channels or use the correct nodes to produce the right superposition i.e. having the mesh object overlap the background of the torus yet having the torus overlap the mesh in the foreground.
I hope I’ve explained that scenario sufficiently clearly, and if so, does anyone know how to do this?
Many many thanks,