Cycles and z-depth

Hi everyone!
I try using nodes and defocus filter (which uses z-depth parametr), and render with Cycles. But I stuck with that i can’t recieve z-depth. Like it has value Zero (0)

How to make DoF with Cycles?

You can’t. Cycles currently doesn’t use passes. Cycles does, however, have a physically correct camera, so if you want DoF you can go into camera properties and adjust aperture and f-stop and get REAL depth of field.

So that was a trick, the camera properties. Great Thanks! :slight_smile:

I tried to use the Z-Depthpass as well but I only shows me white in the Compositor.
I thought Z-Depth is integrated now or am I wrong ?

Kind regards
Alain