From 6004cbbbde895580012e471c540fdba95df29d8b Mon Sep 17 00:00:00 2001 From: adrien Date: Mon, 17 Jul 2023 19:38:53 +0200 Subject: [PATCH] fix vortex --- jsm/Vortex.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsm/Vortex.js b/jsm/Vortex.js index 4d9df02..30d93c8 100644 --- a/jsm/Vortex.js +++ b/jsm/Vortex.js @@ -21,7 +21,7 @@ export class Vortex extends THREE.Group { commonCylinderGeometry, new THREE.MeshLambertMaterial({ side: THREE.BackSide, - map: new THREE.TextureLoader(loadingManager).load("./images/plasma2.jpg", (texture) => { + map: new THREE.TextureLoader(loadingManager).load("./images/plasma.jpg", (texture) => { texture.wrapS = THREE.RepeatWrapping texture.wrapT = THREE.MirroredRepeatWrapping texture.repeat.set(1, 1) @@ -36,7 +36,7 @@ export class Vortex extends THREE.Group { commonCylinderGeometry, new THREE.MeshBasicMaterial({ side: THREE.BackSide, - map: new THREE.TextureLoader(loadingManager).load("./images/plasma.jpg", (texture) => { + map: new THREE.TextureLoader(loadingManager).load("./images/plasma2.jpg", (texture) => { texture.wrapS = THREE.RepeatWrapping texture.wrapT = THREE.MirroredRepeatWrapping texture.repeat.set(2, 1)