There was an error while loading. Please reload this page.
1 parent af8c0b5 commit 63efd80Copy full SHA for 63efd80
js/ModelViewer.js
@@ -43,15 +43,11 @@ function ModelViewer(container) {
43
44
var light
45
46
- light = new THREE.DirectionalLight(0x080808)
47
- light.position.set(2, 10, 1)
+ light = new THREE.AmbientLight(0xffffff, 0.97)
48
this.scene.add(light)
49
50
- light = new THREE.DirectionalLight(0x040404)
51
- light.position.set(1, 8, -2)
52
- this.scene.add(light)
53
-
54
- light = new THREE.AmbientLight(0xf3f3f3)
+ light = new THREE.DirectionalLight(0xffffff, 0.1)
+ light.position.set(4, 10, 6)
55
56
57
0 commit comments