File: module-CSMShader.md | Updated: 11/15/2025
CSMShader is an addon, and must be imported explicitly, see Installation#Addons.
import { CSMShader } from 'three/addons/csm/CSMShader.js';
The object that holds the GLSL enhancements to enable CSM. This code is injected into the built-in material shaders by CSM.