From df4aec97c648523f422b8e157f722ccf06d4776f Mon Sep 17 00:00:00 2001 From: David espinosa <104380606+davespser@users.noreply.github.com> Date: Fri, 6 Dec 2024 09:53:52 +0100 Subject: [PATCH] Update three-scene.js --- js/three-scene.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);