Fix shadowLength config

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

View file

@ -2,7 +2,7 @@ import { mat2d, vec2, vec3 } from 'gl-matrix';
export class UniformsProvider {
public ambientLight = vec3.fromValues(0.25, 0.15, 0.25);
public shadowLength = 150;
public shadowLength = 400;
private scaleWorldLengthToNDC = 1;
private transformWorldToNDC = mat2d.create();