first commit
This commit is contained in:
18
web-app/node_modules/three/examples/jsm/lighting/TiledLighting.js
generated
vendored
Normal file
18
web-app/node_modules/three/examples/jsm/lighting/TiledLighting.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Lighting } from 'three';
|
||||
import { tiledLights } from '../tsl/lighting/TiledLightsNode.js';
|
||||
|
||||
export class TiledLighting extends Lighting {
|
||||
|
||||
constructor() {
|
||||
|
||||
super();
|
||||
|
||||
}
|
||||
|
||||
createNode( lights = [] ) {
|
||||
|
||||
return tiledLights().setLights( lights );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user