Capítulo 111 de 859

Chapter 111: DynamicLightsNode

Core Idea

A custom version of LightsNode that batches supported analytic lights into uniform arrays and loops.

Unsupported lights, node lights, shadow-casting lights, and projected spot lights keep the default per-light path.

Code Examples

import { DynamicLightsNode } from 'three/addons/tsl/lighting/DynamicLightsNode.js';
  • What it demonstrates: Typical usage of DynamicLightsNode.

Reference Tables

Constructor

Signature
new DynamicLightsNode( options : Object )

Key Takeaways

  1. DynamicLightsNode extends: EventDispatcher → Node → LightsNode

Connects To