From c3c30951534a7ebc9a9d20bc8b0bf3c8a01bafe8 Mon Sep 17 00:00:00 2001 From: adrien Date: Mon, 10 Jul 2023 08:37:06 +0200 Subject: [PATCH] smaller stars --- jsm/TetraGUI.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsm/TetraGUI.js b/jsm/TetraGUI.js index b9f533f..beb30f4 100644 --- a/jsm/TetraGUI.js +++ b/jsm/TetraGUI.js @@ -63,12 +63,12 @@ class TetraGUI extends GUI { darkTexture = new THREE.TextureLoader(loadingManager).load("./images/dark.jpg", texture => { texture.wrapS = THREE.RepeatWrapping texture.wrapT = THREE.MirroredRepeatWrapping - texture.repeat.set(1, 2) + texture.repeat.set(2, 4) }) colorfullTexture = new THREE.TextureLoader(loadingManager).load("./images/colorfull.jpg", texture => { texture.wrapS = THREE.RepeatWrapping texture.wrapT = THREE.MirroredRepeatWrapping - texture.repeat.set(1, 2) + texture.repeat.set(2, 4) }) loadingManager.onLoad = function() { scene.vortex.darkCylinder.material.map = darkTexture