🕯️Updates scene ligthing

This commit is contained in:
Rune Harlyk
2024-08-17 20:18:36 +02:00
committed by Rune Harlyk
parent 0e89643555
commit 8afe3424d3
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -149,8 +149,8 @@
.addRenderer({ antialias: true, canvas, alpha: true })
.addPerspectiveCamera({ x: -0.5, y: 0.5, z: 1 })
.addOrbitControls(8, 30, orbit)
.addDirectionalLight({ x: 10, y: 20, z: 10, color: 0xffffff, intensity: 0.9 })
.addAmbientLight({ color: 0xffffff, intensity: 0.6 })
.addDirectionalLight({ x: 10, y: 20, z: 10, color: 0xffffff, intensity: 3 })
.addAmbientLight({ color: 0xffffff, intensity: 0.5})
.addFogExp2(0xcccccc, 0.015)
.addModel($model)
.addTransformControls(sceneManager.model)