This commit is contained in:
Adrien MALINGREY 2024-10-01 10:59:43 +02:00
parent 3c8fc95e23
commit fef08f64e8
2 changed files with 5 additions and 5 deletions

View File

@ -157,7 +157,7 @@ class Mino extends THREE.Object3D {
side: THREE.DoubleSide,
transparent: true,
opacity: 0.7,
roughness: 0.5,
roughness: 0.6,
metalness: 1,
}),
Espace: new THREE.MeshStandardMaterial({
@ -175,7 +175,7 @@ class Mino extends THREE.Object3D {
color: 0xd0d4c1,
map: texture,
bumpMap: texture,
bumpScale: 1.5,
bumpScale: 2,
roughness: 0.25,
metalness: 0.8,
transparent: true,
@ -209,7 +209,7 @@ class Mino extends THREE.Object3D {
super()
this.color = color
this.offset = offset
this.velocity = P(50 - 100 * Math.random(), 70 - 100 * Math.random(), 50 - 100 * Math.random())
this.velocity = P(50 - 100 * Math.random(), 60 - 100 * Math.random(), 50 - 100 * Math.random())
this.rotationAngle = P(Math.random(), Math.random(), Math.random()).normalize()
this.angularVelocity = 5 - 10 * Math.random()
this.constructor.meshes.add(this)

View File

@ -47,7 +47,7 @@ export class Vortex extends THREE.Group {
texture.repeat.set(1, 2)
this.darkCylinder.material.map = texture
})
this.darkCylinder.material.opacity = 0.17
this.darkCylinder.material.opacity = 0.1
new THREE.TextureLoader(this.loadingManager).load("./images/plasma2.jpg", texture => {
texture.wrapS = THREE.RepeatWrapping
@ -55,7 +55,7 @@ export class Vortex extends THREE.Group {
texture.repeat.set(2, 2)
this.colorFullCylinder.material.map = texture
})
this.colorFullCylinder.material.opacity = 0.7
this.colorFullCylinder.material.opacity = 0.5
this.globalRotation = 0.028
this.darkTextureRotation = 0.005