From 6a60a1900085388673e54013c9e82b79c31553a4 Mon Sep 17 00:00:00 2001 From: David espinosa <104380606+davespser@users.noreply.github.com> Date: Fri, 6 Dec 2024 18:21:30 +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 1999398c..508dd170 100644 --- a/js/three-scene.js +++ b/js/three-scene.js @@ -35,7 +35,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("./js/grasslight-big.jpg"); + const floorTexture = new THREE.TextureLoader().load("./js/grasslight-big.png"); floorTexture.wrapS = THREE.RepeatWrapping; floorTexture.wrapT = THREE.RepeatWrapping; floorTexture.repeat.set(10, 10);