Spaces:
Running
Running
cutechicken
commited on
Update game.js
Browse files
game.js
CHANGED
@@ -330,8 +330,8 @@ class Game {
|
|
330 |
this.scene.fog = null;
|
331 |
this.scene.background = new THREE.Color(0x87CEEB);
|
332 |
|
333 |
-
// ์ฃผ๋ณ๊ด ์ค์
|
334 |
-
const ambientLight = new THREE.AmbientLight(0xffffff, 1.
|
335 |
this.scene.add(ambientLight);
|
336 |
|
337 |
// ํ์๊ด ์ค์ - ๊ทธ๋ฆผ์ ํ์ง ๋ฎ์ถค
|
@@ -354,10 +354,10 @@ class Game {
|
|
354 |
// ์ฌ๋ง ์ฌ์ง ์ต์ ํ
|
355 |
const groundMaterial = new THREE.MeshStandardMaterial({
|
356 |
map: groundTexture,
|
357 |
-
color:
|
358 |
-
roughness: 0.
|
359 |
-
metalness: 0.
|
360 |
-
bumpScale: 0.
|
361 |
});
|
362 |
|
363 |
const ground = new THREE.Mesh(groundGeometry, groundMaterial);
|
|
|
330 |
this.scene.fog = null;
|
331 |
this.scene.background = new THREE.Color(0x87CEEB);
|
332 |
|
333 |
+
// ์ฃผ๋ณ๊ด ์ค์ - ๋ ๋ฐ๊ฒ
|
334 |
+
const ambientLight = new THREE.AmbientLight(0xffffff, 1.8);
|
335 |
this.scene.add(ambientLight);
|
336 |
|
337 |
// ํ์๊ด ์ค์ - ๊ทธ๋ฆผ์ ํ์ง ๋ฎ์ถค
|
|
|
354 |
// ์ฌ๋ง ์ฌ์ง ์ต์ ํ
|
355 |
const groundMaterial = new THREE.MeshStandardMaterial({
|
356 |
map: groundTexture,
|
357 |
+
color: 0xF4D03F, // ๋ ๋ฐ์ ๋ชจ๋์์ผ๋ก ๋ณ๊ฒฝ
|
358 |
+
roughness: 0.7, // ๊ฑฐ์น ๊ธฐ ๊ฐ์
|
359 |
+
metalness: 0.0, // ๊ธ์์ฑ ์ ๊ฑฐ
|
360 |
+
bumpScale: 0.2 // ๋ฒํ ํจ๊ณผ ๊ฐ์
|
361 |
});
|
362 |
|
363 |
const ground = new THREE.Mesh(groundGeometry, groundMaterial);
|