Finish first demo scene

This commit is contained in:
schmelczerandras 2020-09-16 22:05:49 +02:00
parent 36f01c6716
commit 77d5938b4b
4 changed files with 43 additions and 15 deletions

View file

@ -37,8 +37,12 @@ const handleScene = async (scene: Scene) => {
const renderer = compile(
canvas,
scene.descriptors,
[vec3.fromValues(0.4, 0.35, 0.6), vec3.fromValues(0, 1, 0), vec3.fromValues(1, 1, 0)],
{ tileMultiplier: 8, enableStopwatch: false }
[vec3.fromValues(0.4, 1, 0.6), vec3.fromValues(1, 1, 0), vec3.fromValues(0.3, 1, 1)],
{
tileMultiplier: 10,
enableStopwatch: false,
shaderMacros: { softShadowTraceCount: '128', hardShadowTraceCount: '48' },
}
);
let triggerIsOver: () => void;