15

Last time I checked, blender could only render depth of field effects in a post process pass, using the "Defocus Node", which seemed to get it quite wrong.

Is there now a way to include rays across a lens during tracing and produce a more realistic depth of field?

jozxyqk
  • 1,201
  • 4
  • 15
  • 30

2 Answers2

19

With the Cycles Renderer, DoF is supported natively. Select the camera, switch to the Camera properties panel, and set up DoF.

DoF properties

jm3
  • 171
  • 1
  • 10
user2859
  • 3,612
  • 21
  • 21
2

Also you must use a real size object to obtain realistic result (to get a reliable f/stop response, like real world lenses). Small objects close up (at a short focal length) make a great bokeh effect due to a shallow DoF. Larger, distant objects like a building create poor bokeh (deep DoF). Also play with some camera presets, like sensor size and focal length.

jm3
  • 171
  • 1
  • 10
gimoz71
  • 21
  • 2