Skip to content

Commit

Permalink
Update three-scene.js
Browse files Browse the repository at this point in the history
  • Loading branch information
davespser authored Dec 6, 2024
1 parent 6a60a19 commit 5769c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/three-scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function loadThreeScene({ x = 0, y = 0, z = 0, color = 0xff4500, stats =

// Crear cubo con color del personaje
const geometry = new THREE.BoxGeometry();
const material = new THREE.MeshPhongMaterial({ color, shininess: 150, reflectivity: 1, specular: 0xffffff});
const material = new THREE.MeshStandardMaterial({ color, metalness: 0.9, roughness: 0.1, specular: 0xffffff});
cube = new THREE.Mesh(geometry, material);
cube.position.set(x, y + 0.5, z);
cube.castShadow = true;
Expand Down

0 comments on commit 5769c9f

Please sign in to comment.