how to capture a scene with transparent backgroud

Hi everyone. I want to render a scene to pictures/video with transparent background, how can I achieve it?
I’ve tried Render Custom Depth, but it seems not support translucent material very well, the alpha channel was lost.
And I noticed two render pass: SeparateTranslucencyRGB and SeparateTranslucencyA, but I could not get a correct alpha information by compositing these two passes.

1 Like