From 7eac23dd667360485a5e92aed44902e7cf1504b5 Mon Sep 17 00:00:00 2001 From: martinlaxenaire Date: Fri, 21 Jun 2024 16:35:15 +0200 Subject: [PATCH 1/2] - updated glTF test --- tests/gltf-loader/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gltf-loader/main.js b/tests/gltf-loader/main.js index afa6854d1..048821302 100644 --- a/tests/gltf-loader/main.js +++ b/tests/gltf-loader/main.js @@ -282,7 +282,7 @@ window.addEventListener('load', async () => { }, range: { type: 'f32', - value: lightPositionLength, + value: lightPositionLength * 2, }, color: { type: 'vec3f', @@ -290,7 +290,7 @@ window.addEventListener('load', async () => { }, intensity: { type: 'f32', - value: lightPositionLengthSq, + value: lightPositionLengthSq * 2, }, }, }, From f0836d96ef0d4be7f52b6fc90cb341526779de9d Mon Sep 17 00:00:00 2001 From: martinlaxenaire Date: Fri, 21 Jun 2024 16:36:10 +0200 Subject: [PATCH 2/2] - improved glTF test lightning params --- tests/gltf-loader/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gltf-loader/main.js b/tests/gltf-loader/main.js index 048821302..73ba2c59a 100644 --- a/tests/gltf-loader/main.js +++ b/tests/gltf-loader/main.js @@ -282,7 +282,7 @@ window.addEventListener('load', async () => { }, range: { type: 'f32', - value: lightPositionLength * 2, + value: lightPositionLength * 3, }, color: { type: 'vec3f', @@ -290,7 +290,7 @@ window.addEventListener('load', async () => { }, intensity: { type: 'f32', - value: lightPositionLengthSq * 2, + value: lightPositionLengthSq * 3, }, }, },