cutechicken commited on
Commit
e17e33c
ยท
verified ยท
1 Parent(s): 02ae9d9

Update game.js

Browse files
Files changed (1) hide show
  1. game.js +6 -6
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.2);
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: 0xDEB887,
358
- roughness: 0.8,
359
- metalness: 0.1,
360
- bumpScale: 0.3
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);