📄 threejs/Addons/Shaders/module-FocusShader

File: module-FocusShader.md | Updated: 11/15/2025


title: module-FocusShader category: Unknown layout: docs

FocusShader

Import

FocusShader is an addon, and must be imported explicitly, see Installation#Addons.

import { FocusShader } from 'three/addons/shaders/FocusShader.js';

Properties

.FocusShader : ShaderMaterial~Shader (inner, constant)

Focus shader based on PaintEffect postprocess from ro.me.

Source

examples/jsm/shaders/FocusShader.js