Import
TiledLightsNode is an addon, and must be imported explicitly, see Installation#Addons.
import { tiledLights } from 'three/addons/tsl/lighting/TiledLightsNode.js';
Constructor
new TiledLightsNode( maxLights : number, tileSize : number )
Constructs a new tiled lights node.
| maxLights |
The maximum number of lights. Default is |
| tileSize |
The tile size. Default is |
Properties
.maxLights : number
The maximum number of lights.
Default is 1024.
.tileSize : number
The tile size.
Default is 32.