diff --git a/js/three-scene.js b/js/three-scene.js index 0920c4d8..6aebe11b 100644 --- a/js/three-scene.js +++ b/js/three-scene.js @@ -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("https://threejs.org/examples/textures/grasslight-big.jpg"); + const floorTexture = new THREE.TextureLoader().load("./grasslight-big.png"); floorTexture.wrapS = THREE.RepeatWrapping; floorTexture.wrapT = THREE.RepeatWrapping; floorTexture.repeat.set(10, 10);