diff --git a/jsm/TetraGUI.js b/jsm/TetraGUI.js index 40ec2eb..d4a0bc1 100644 --- a/jsm/TetraGUI.js +++ b/jsm/TetraGUI.js @@ -68,7 +68,7 @@ class TetraGUI extends GUI { colorfullTexture = new THREE.TextureLoader(loadingManager).load("./images/colorfull.jpg", texture => { texture.wrapS = THREE.RepeatWrapping texture.wrapT = THREE.MirroredRepeatWrapping - texture.repeat.set(2, 4) + texture.repeat.set(1, 2) }) loadingManager.onLoad = function() { scene.vortex.darkCylinder.material.map = darkTexture @@ -239,7 +239,7 @@ class TetraGUI extends GUI { }) break case "MeshPhysicalMaterial": - minoMaterialFactory = color => new THREE.MeshStandardMaterial({ + minoMaterialFactory = color => new THREE.MeshPhysicalMaterial({ color : "white", envMap : environnement, transparent : true, diff --git a/jsm/TetraScene.js b/jsm/TetraScene.js index e684522..10ddea1 100644 --- a/jsm/TetraScene.js +++ b/jsm/TetraScene.js @@ -16,7 +16,7 @@ class TetraScene extends THREE.Scene { this.add(this.ambientLight) this.directionalLight = new THREE.DirectionalLight(0xffffff, 20) - this.directionalLight.position.set(5, -9, -20) + this.directionalLight.position.set(5, -100, -20) this.add(this.directionalLight) diff --git a/jsm/gamelogic.js b/jsm/gamelogic.js index 4c9d375..823145f 100644 --- a/jsm/gamelogic.js +++ b/jsm/gamelogic.js @@ -91,7 +91,7 @@ class MinoMaterial extends THREE.MeshBasicMaterial { envMap: environnement, reflectivity: 0.9, transparent: true, - opacity: 0.95, + opacity: 0.8, side: THREE.DoubleSide, }) }