Chapter 692: CSMShader
Core Idea
Reference for CSMShader.
Key Concepts
- 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.
Code Examples
import { CSMShader } from 'three/addons/csm/CSMShader.js';
- What it demonstrates: Typical usage of CSMShader.
Reference Tables
Properties
| Property | Description |
|---|
.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. |
Key Takeaways
- Most relevant properties: CSMShader.
Connects To