Niagara Depth Pass

Hi,
i have a fire and would like to render it or it’s mask in a separate postprocess material pass. It’s visible in the viewport prev but i can’t get it to render correctly. What am i doing wrong?