Skip to content

Commit

Permalink
Fixed incorrect light repositioning on Reset Light
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhhelgeson committed Oct 27, 2023
1 parent cafd907 commit 7081a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sample/normalMap/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7081a81

Please sign in to comment.