What is the best way to render certain objects in a scene with a transparent background without hiding everything else.
I did this with custom depth pass and making a green screen in the post process volume, however now I need the renders to be using path tracer and the green background reflects on the objects and they are unusable.
Any other way or suggestion on how to do this?