TiledLighting.js 270 B

123456789101112131415161718
  1. import { Lighting } from 'three/webgpu';
  2. import { tiledLights } from '../tsl/lighting/TiledLightsNode.js';
  3. export class TiledLighting extends Lighting {
  4. constructor() {
  5. super();
  6. }
  7. createNode( lights = [] ) {
  8. return tiledLights().setLights( lights );
  9. }
  10. }
粤ICP备19079148号