space tweaks

This commit is contained in:
2026-01-24 15:19:49 +01:00
parent e8bc24d337
commit 1e7d29d6e3
7 changed files with 15 additions and 14 deletions

View File

@@ -67,21 +67,21 @@ export class Vortex extends THREE.Group {
break
case "Espace":
new THREE.TextureLoader(this.loadingManager).load("./images/dark.jpg", texture => {
new THREE.TextureLoader(this.loadingManager).load("./images/stars_space.jpg", texture => {
texture.wrapS = THREE.RepeatWrapping
texture.wrapT = THREE.MirroredRepeatWrapping
texture.repeat.set(2, 4)
texture.repeat.set(3, 6)
this.darkCylinder.material.map = texture
})
this.darkCylinder.material.opacity = 0.08
this.darkCylinder.material.opacity = 0.2
new THREE.TextureLoader(this.loadingManager).load("./images/colorfull.jpg", texture => {
texture.wrapS = THREE.RepeatWrapping
texture.wrapT = THREE.MirroredRepeatWrapping
texture.repeat.set(2, 2)
texture.repeat.set(2, 4)
this.colorFullCylinder.material.map = texture
})
this.colorFullCylinder.material.opacity = 0.15
this.colorFullCylinder.material.opacity = 0.1
this.globalRotation = 0.028
this.darkTextureRotation = 0.006