Import
BokehShader is an addon, and must be imported explicitly, see Installation#Addons.
import { BokehShader } from 'three/addons/shaders/BokehShader.js';
Properties
.BokehShader : ShaderMaterial~Shader (inner, constant)
Depth-of-field shader with bokeh ported from GLSL shader by Martins Upitis.