Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -44,11 +44,11 @@
|
|
| 44 |
});
|
| 45 |
|
| 46 |
// Adjusted lighting
|
| 47 |
-
const light = new THREE.DirectionalLight(0xffffff,
|
| 48 |
light.position.set(5, 10, 5);
|
| 49 |
scene.add(light);
|
| 50 |
|
| 51 |
-
const ambientLight = new THREE.AmbientLight(0x404040,
|
| 52 |
scene.add(ambientLight);
|
| 53 |
|
| 54 |
const loader = new THREE.GLTFLoader();
|
|
|
|
| 44 |
});
|
| 45 |
|
| 46 |
// Adjusted lighting
|
| 47 |
+
const light = new THREE.DirectionalLight(0xffffff, 10);
|
| 48 |
light.position.set(5, 10, 5);
|
| 49 |
scene.add(light);
|
| 50 |
|
| 51 |
+
const ambientLight = new THREE.AmbientLight(0x404040, 10);
|
| 52 |
scene.add(ambientLight);
|
| 53 |
|
| 54 |
const loader = new THREE.GLTFLoader();
|