🔦 Updates the scene ligthnings

This commit is contained in:
Rune Harlyk
2024-02-02 21:27:53 +01:00
parent e59b2b1a30
commit b985ee4727
+2 -2
View File
@@ -122,8 +122,8 @@ const createScene = () => {
.addOrbitControls(10, 30) .addOrbitControls(10, 30)
.addGroundPlane({x:0, y:-2, z:0}) .addGroundPlane({x:0, y:-2, z:0})
.addGridHelper({size:250, divisions:125, y:-2}) .addGridHelper({size:250, divisions:125, y:-2})
.addAmbientLight({color:0xffffff, intensity:0.3}) .addAmbientLight({color:0xffffff, intensity:0.7})
.addDirectionalLight({x:50, y:100, z:100, color:0xffffff, intensity:0.9}) .addDirectionalLight({x:10, y:100, z:10, color:0xffffff, intensity:1})
.addArrowHelper({origin:{x:0, y:0, z:0}, direction:{x:0, y:-2, z:0}}) .addArrowHelper({origin:{x:0, y:0, z:0}, direction:{x:0, y:-2, z:0}})
.addFogExp2(0xcccccc, 0.015) .addFogExp2(0xcccccc, 0.015)
.loadModel('/spot_micro.urdf.xacro') .loadModel('/spot_micro.urdf.xacro')