cutechicken commited on
Commit
6d9fb2e
โ€ข
1 Parent(s): a4bd88b

Update game.js

Browse files
Files changed (1) hide show
  1. game.js +3 -4
game.js CHANGED
@@ -351,11 +351,10 @@ class Game {
351
  groundTexture.wrapS = groundTexture.wrapT = THREE.RepeatWrapping;
352
  groundTexture.repeat.set(25, 25); // ํ…์Šค์ฒ˜ ๋ฐ˜๋ณต ํšŸ์ˆ˜ ๊ฐ์†Œ
353
 
354
- // ์‚ฌ๋ง‰ ์žฌ์งˆ ์ตœ์ ํ™” - MeshLambertMaterial ์‚ฌ์šฉ
355
- const groundMaterial = new THREE.MeshLambertMaterial({
356
  map: groundTexture,
357
- color: 0xF4D03F, // ๋ฐ์€ ๋ชจ๋ž˜์ƒ‰
358
- emissive: 0x222222 // ์•ฝ๊ฐ„์˜ ์ž์ฒด ๋ฐœ๊ด‘ ์ถ”๊ฐ€
359
  });
360
 
361
  const ground = new THREE.Mesh(groundGeometry, groundMaterial);
 
351
  groundTexture.wrapS = groundTexture.wrapT = THREE.RepeatWrapping;
352
  groundTexture.repeat.set(25, 25); // ํ…์Šค์ฒ˜ ๋ฐ˜๋ณต ํšŸ์ˆ˜ ๊ฐ์†Œ
353
 
354
+ // ์‚ฌ๋ง‰ ์žฌ์งˆ์„ MeshBasicMaterial๋กœ ๋ณ€๊ฒฝ
355
+ const groundMaterial = new THREE.MeshBasicMaterial({
356
  map: groundTexture,
357
+ color: 0xDEB887 // ๋” ๋ฐ์€ ๋ฒ ์ด์ง€์ƒ‰
 
358
  });
359
 
360
  const ground = new THREE.Mesh(groundGeometry, groundMaterial);