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 df4aec9 commit 77fdc56
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 @@ -33,7 +33,7 @@ export function loadThreeScene({ x = 0, y = 0, z = 0, color = 0xff4500, stats =
scene.add(directionalLight);

// Crear suelo con textura
const floorTexture = new THREE.TextureLoader().load("./grasslight-big.png");
const floorTexture = new THREE.TextureLoader().load("./js/grasslight-big.png");
floorTexture.wrapS = THREE.RepeatWrapping;
floorTexture.wrapT = THREE.RepeatWrapping;
floorTexture.repeat.set(10, 10);
Expand Down

0 comments on commit 77fdc56

Please sign in to comment.