Capítulo 692 de 859

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

PropertyDescription
.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

  1. Most relevant properties: CSMShader.

Connects To