Update to match updated library

This commit is contained in:
schmelczerandras 2020-09-18 15:25:54 +02:00
parent 90aa5f94e2
commit 840683056c
2 changed files with 4 additions and 5 deletions

View file

@ -50,9 +50,8 @@ export class RainScene implements Scene {
vec3.fromValues(0.3, 1, 1), vec3.fromValues(0.3, 1, 1),
], ],
{ {
enableStopwatch: false, softShadowTraceCount: '32',
softShadowTraceCount: '64', hardShadowTraceCount: '16',
hardShadowTraceCount: '32',
} }
); );

View file

@ -69,9 +69,8 @@ export class TunnelScene implements Scene {
vec3.fromValues(0.3, 1, 1), vec3.fromValues(0.3, 1, 1),
], ],
{ {
enableStopwatch: false,
softShadowTraceCount: '64', softShadowTraceCount: '64',
hardShadowTraceCount: '32', hardShadowTraceCount: '16',
} }
); );
@ -96,6 +95,7 @@ export class TunnelScene implements Scene {
vec2.fromValues(this.deltaSinceStart / 2, height), vec2.fromValues(this.deltaSinceStart / 2, height),
vec2.fromValues(width, height) vec2.fromValues(width, height)
); );
this.renderer.autoscaleQuality(deltaTime); this.renderer.autoscaleQuality(deltaTime);
this.overlay.innerText = JSON.stringify( this.overlay.innerText = JSON.stringify(