Accueil / npm / three@0.171.0 / examples / jsm / lighting / TiledLighting.js
TiledLighting.js
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 );
}
}