Lens Distortion & Chromatic Aberration in Blender

Adding optical imperfections like lens distortion and chromatic aberration is one of the most effective ways to make 3D renders look like real-world camera footage. This guide explains how to quickly apply and control both effects using Blender's built-in Compositor to achieve a photorealistic, cinematic finish.

Step 1: Open the Blender Compositor

  1. Render your image or animation first by pressing F12.
  2. Switch to the Compositing workspace from the top menu bar.
  3. Check the Use Nodes box at the top of the editor.
  4. You will see two default nodes: Render Layers and Composite.
  5. Press Shift + A, search for Viewer, and connect the Image output of the Render Layers node to the Viewer node to preview changes in the background (press V to zoom out, Alt + V to zoom in).

Step 2: Add the Lens Distortion Node

The fastest and most efficient way to add both lens curvature and chromatic fringing is with the dedicated Lens Distortion node:

  1. Press Shift + A and navigate to Distort > Lens Distortion.
  2. Drop the node onto the connection line between the Render Layers node and the Composite node.
  3. Also connect the output to the Viewer node to see real-time updates.

Step 3: Configure Realistic Parameters

Subtlety is key for realism. Overdoing these effects can make your render look blurry or amateur.

1. Chromatic Aberration (Dispersion)

  • Dispersion: Controls the color fringing caused by different wavelengths of light bending at different angles.
  • Recommended Value: Set between 0.01 and 0.03. Higher values (e.g., above 0.05) are usually too intense unless you are simulating a damaged vintage lens or an action camera.

2. Lens Distortion (Distort vs. K)

  • Distort: Warps the image. A positive value creates a barrel distortion (edges bend outward, typical of wide-angle/fisheye lenses), while a negative value creates a pincushion distortion (edges pull inward, typical of telephoto lenses).
  • Recommended Value: Set between 0.01 and 0.03 for standard wide-angle cameras, or -0.01 to -0.02 for subtle telephoto effects.
  • Fit: Check the Fit checkbox. This automatically scales the distorted image so no black borders appear at the frame edges.

Alternative: Channel Shifting for Chromatic Aberration

If you want chromatic aberration without warping the image geometry:

  1. Press Shift + A and add a Color > Separate Color node.
  2. Add a Color > Combine Color node.
  3. Connect the Red, Green, and Blue channels respectively from Separate to Combine.
  4. Place a Distort > Transform or Distort > Scale node between one of the color channels (such as the Red channel) and set the scale to 1.002.
  5. Connect the combined output back to your Composite node.