I have quite an annoying thing, that I don't know how to do. I'm about to render a small clip, but I don't know how to enable Depth of Field in animations render to make it visible in the final product. It is visible in 3D view, but not in the render. Any help will be appreciated.

Edit: I use the in-built renderer, nothing special. I'm not using compositor.

That's what I see in render mode. That's what I see in render mode. It still not working, even though, I set everything as I could see on the picture.


1 Answer 1


You need to use the compositor :)

The Camera settings sets an object as your focus point and the Defocus node uses this for calculations. Or, leave it blank and use the Defocus node settings for distance calculations.

In the Render layers settings, ensure you've added a Z pass.

enter image description here

  • $\begingroup$ Alright, I set everything, just as you, but I can't make it work. $\endgroup$
    – 505Legion
    Jan 18, 2017 at 16:20
  • $\begingroup$ Nevermind. I got it working, it just not visible in 3D View's render. I have to render it as I would to save it. Thank you! $\endgroup$
    – 505Legion
    Jan 18, 2017 at 16:40
  • $\begingroup$ Ah - you wanted DOF in the live Rendered VIEW. As you've discovered, no-one can help you there. Rendered View (as opposed to an actual render) is meant only as an indicative idea of uncomposited textures and lighting. Because DOF is a composited effect in BI, you won't see this being reflected in the live Rendered View. Nor will you see other compositing effects, such as gamma correction, composited blur, distortions, etc. DOF is easily done in Solid view on the fly, but in rendered view it's a major performance hit. Nor is DOF available in Cycles' Rendered view - same problem. $\endgroup$
    – OroNZ
    Jan 18, 2017 at 23:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .