Fix lights
This commit is contained in:
parent
7250d164a8
commit
3725f56c78
6 changed files with 10 additions and 6 deletions
|
|
@ -50,6 +50,9 @@ export class WebGl2Renderer implements Renderer {
|
|||
ambientLight: (v) => {
|
||||
this.uniformsProvider.ambientLight = v;
|
||||
},
|
||||
lightCutoffDistance: (v) => {
|
||||
this.lightsPass.lightCutoffDistance = v;
|
||||
},
|
||||
};
|
||||
|
||||
private static defaultStartupSettings: StartupSettings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue