I have a 3D object in the empty scene. I can click on the "transparent" checkbox to make a render with a transparent background. How can I render depth (or any other) pass with transparent background the same way?
Maybe I can use the alpha channel as a mask in compositor? What is the best way to do it?