What is the difference between z depth and mist and why aren't they anti-aliased?

What is the difference between z depth and mist and why aren’t they anti-aliased?

I am mixing the mist pass with the render to fake some fog and it’s all jaggy. Why isn’t it anti aliased? What can I do to remove jaggies?

Mist pass is used to composite atmospherics elements, like fog, dust, snow. Use as a mask (fac) input. Z-depth isn’t color, it’s information to create depth of field when compositing (Defocus node). Visually they look similar, as data they are completly different. It’s not common to have alias, yet a higher camera sampling should solve.

1 Like

Mist is distance from camera, depth is distance from camera plane. (this means the difference is less and less noticeable the further from the lens you go)

2 Likes

Zdepth is always rendered as a 1 sample image. That’s why it renders fast. I wonder though how they get this great result in the new dev blender post they show here