Fix shadowLength config

This commit is contained in:
schmelczerandras 2020-09-19 20:10:12 +02:00
commit b76c5a516d

View file

@ -47,7 +47,7 @@ export class WebGl2Renderer implements Renderer {
this.passes[RenderingPassName.pixel].isWorldInverted = v;
},
shadowLength: (v) => {
this.uniformsProvider.shadowLength;
this.uniformsProvider.shadowLength = v;
},
ambientLight: (v) => {
this.uniformsProvider.ambientLight = v;