DeepFocus

DeepFocus is a physical camera lens simulator for Blender that provides customizable bokeh and cinematic depth of field. It uses an Open Shading Language (OSL) camera to simulate various lens characteristics. The addon includes built-in F-stop controls and interactive focus peaking for configuring depth of field.

The tool provides controls for optical imperfections such as bokeh bias, field curvature, chromatic aberration, and lens breathing. It supports custom bokeh shapes and lens dirt using image textures, and includes ten texture assets. The addon also features one-click presets for classic lens types including Cinema Prime, Anamorphic, Vintage Petzval, Tiltshift, and Newtonian Telescope. The advanced distortion mode offers k1, k2, k3, p1, and p2 coefficients, and diffraction spikes can be added to simulate astrophotography lenses. An OptiX-enabled NVIDIA GPU is required for GPU rendering; otherwise, it operates in CPU mode.