File: TiledLightsNode.md | Updated: 11/15/2025
A custom version of LightsNode implementing tiled lighting. This node is used in TiledLighting to overwrite the renderer's default lighting with a custom implementation.
TiledLightsNode is an addon, and must be imported explicitly, see Installation#Addons.
import { tiledLights } from 'three/addons/tsl/lighting/TiledLightsNode.js';
Constructs a new tiled lights node.
maxLights | The maximum number of lights. Default is 1024.
---|---
tileSize | The tile size. Default is 32.
The maximum number of lights.
Default is 1024.
The tile size.
Default is 32.