📄 threejs/Addons/TSL/TileShadowNodeHelper

File: TileShadowNodeHelper.md | Updated: 11/15/2025


title: TileShadowNodeHelper category: Addons layout: docs

TileShadowNodeHelper

Helper class to manage and display debug visuals for TileShadowNode.

Import

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

import { TileShadowNodeHelper } from 'three/addons/tsl/shadows/TileShadowNodeHelper.js';

Constructor

new TileShadowNodeHelper( tileShadowNode : TileShadowNode )

tileShadowNode | The TileShadowNode instance to debug.
---|---

Methods

.dispose()

Removes all debug objects (planes and helpers) from the scene.

.init()

Initializes the debug displays (planes and camera helpers). Should be called after TileShadowNode has initialized its lights and shadow nodes.

.update()

Updates the debug visuals (specifically camera helpers). Should be called within TileShadowNode's update method.

Source

examples/jsm/tsl/shadows/TileShadowNodeHelper.js