I’m doing some compositing stuff with particles which relies on the depth buffer. I’ve noticed that for some reason there are certain particle systems that don’t appear in the depth buffer.
Here is an example, with two particle systems, shown in both the final colour and depth buffer (scaled for visibility):
https://i.imgur.com/LapvqK7.png
https://i.imgur.com/YYOr7rq.png
As you can see, the system on the right shows up in depth, but not the one on the left. It has Rendering->Render in Depth Pass set to true, and occludes correctly with other objects, so I just don’t understand why it’s not showing up in the depth buffer.
Is the one on the left using translucent materials? I don’t believe translucent objects appear in the depth buffer since everything behind them must also be rendered.