Import
TiledLighting is an addon, and must be imported explicitly, see Installation#Addons.
import { TiledLighting } from 'three/addons/lighting/TiledLighting.js';
Classes
- TiledLighting
Methods
.createNode( lights : Array.<Light> ) : TiledLightsNode
Creates a new tiled lights node for the given array of lights.
This method is called internally by the renderer and must be overwritten by all custom lighting implementations.
| lights |
The render object. |
- Overrides: Lighting#createNode
- Returns: The tiled lights node.