File: module-BokehShader.md | Updated: 11/15/2025
BokehShader is an addon, and must be imported explicitly, see Installation#Addons.
import { BokehShader } from 'three/addons/shaders/BokehShader.js';
Depth-of-field shader with bokeh ported from GLSL shader by Martins Upitis.