You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Tutorial: faking Depth of field in photos or movies with Blender


Here's a nice trick that allows you to add depth of field to existing photographs.

Manuel wrote a small tutorial on an interesting technique to bring DOF to images afterwards by rebuilding the scene roughly in Blender and using the Z-Depth and Defocus node to more precisely blur the parts of the image which should be out of focus.

He notes that this will get very interesting when also the internal camera tracker (Tomato branch) is merged into Blender



  1. There is another way I tested, that uses Cycles.

    Instead of using the compositor, you can directly render the DOF effect. Plus, if you remember Mike Pan tutorial, you can modify the bokeh with a shape for added effect.

  2. Nabil Stendardo on

    Technically speaking, you are not adding DOF, you are in fact artificially reducing/thinning the DOF - DOF being (zfar - znear), where zfar and znear are the distances to the furthest (resp. closest) planes which are considered to be in focus (based on a circle of confusion definition).

Leave A Reply

To add a profile picture to your message, register your email address with To protect your email address, create an account on BlenderNation and log in when posting a message.