space tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user