From 77fdc5668bbe07b5aba2caa4499d33a619386816 Mon Sep 17 00:00:00 2001 From: David espinosa <104380606+davespser@users.noreply.github.com> Date: Fri, 6 Dec 2024 09:55:54 +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 6aebe11b..dcfe6d94 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("./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);