From 7081a815c1326d8ed761adf95a69a80d26278196 Mon Sep 17 00:00:00 2001 From: cmhhelgeson <62450112+cmhhelgeson@users.noreply.github.com> Date: Fri, 27 Oct 2023 12:46:10 -0700 Subject: [PATCH] Fixed incorrect light repositioning on Reset Light --- src/sample/normalMap/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sample/normalMap/main.ts b/src/sample/normalMap/main.ts index c70106f8..ac1812e2 100644 --- a/src/sample/normalMap/main.ts +++ b/src/sample/normalMap/main.ts @@ -340,8 +340,8 @@ const init: SampleInit = async ({ canvas, pageState, gui }) => { const depthFolder = gui.addFolder('Depth'); lightFolder.add(settings, 'Reset Light').onChange(() => { lightPosXController.setValue(1.7); - lightPosYController.setValue(-0.7); - lightPosZController.setValue(1.9); + lightPosYController.setValue(0.7); + lightPosZController.setValue(-1.9); lightIntensityController.setValue(0.02); }); const lightPosXController = lightFolder