UNPKG

three

Version:

JavaScript 3D library

19 lines (10 loc) 270 B
import { Lighting } from 'three/webgpu'; import { tiledLights } from '../tsl/lighting/TiledLightsNode.js'; export class TiledLighting extends Lighting { constructor() { super(); } createNode( lights = [] ) { return tiledLights().setLights( lights ); } }