📄 threejs/Addons/Csm/module-CSMShader

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


title: module-CSMShader category: Unknown layout: docs

CSMShader

Import

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

import { CSMShader } from 'three/addons/csm/CSMShader.js';

Properties

.CSMShader : Object (inner, constant)

The object that holds the GLSL enhancements to enable CSM. This code is injected into the built-in material shaders by CSM.

Source

examples/jsm/csm/CSMShader.js