tweaks
This commit is contained in:
parent
3c8fc95e23
commit
fef08f64e8
@ -157,7 +157,7 @@ class Mino extends THREE.Object3D {
|
|||||||
side: THREE.DoubleSide,
|
side: THREE.DoubleSide,
|
||||||
transparent: true,
|
transparent: true,
|
||||||
opacity: 0.7,
|
opacity: 0.7,
|
||||||
roughness: 0.5,
|
roughness: 0.6,
|
||||||
metalness: 1,
|
metalness: 1,
|
||||||
}),
|
}),
|
||||||
Espace: new THREE.MeshStandardMaterial({
|
Espace: new THREE.MeshStandardMaterial({
|
||||||
@ -175,7 +175,7 @@ class Mino extends THREE.Object3D {
|
|||||||
color: 0xd0d4c1,
|
color: 0xd0d4c1,
|
||||||
map: texture,
|
map: texture,
|
||||||
bumpMap: texture,
|
bumpMap: texture,
|
||||||
bumpScale: 1.5,
|
bumpScale: 2,
|
||||||
roughness: 0.25,
|
roughness: 0.25,
|
||||||
metalness: 0.8,
|
metalness: 0.8,
|
||||||
transparent: true,
|
transparent: true,
|
||||||
@ -209,7 +209,7 @@ class Mino extends THREE.Object3D {
|
|||||||
super()
|
super()
|
||||||
this.color = color
|
this.color = color
|
||||||
this.offset = offset
|
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.rotationAngle = P(Math.random(), Math.random(), Math.random()).normalize()
|
||||||
this.angularVelocity = 5 - 10 * Math.random()
|
this.angularVelocity = 5 - 10 * Math.random()
|
||||||
this.constructor.meshes.add(this)
|
this.constructor.meshes.add(this)
|
||||||
|
@ -47,7 +47,7 @@ export class Vortex extends THREE.Group {
|
|||||||
texture.repeat.set(1, 2)
|
texture.repeat.set(1, 2)
|
||||||
this.darkCylinder.material.map = texture
|
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 => {
|
new THREE.TextureLoader(this.loadingManager).load("./images/plasma2.jpg", texture => {
|
||||||
texture.wrapS = THREE.RepeatWrapping
|
texture.wrapS = THREE.RepeatWrapping
|
||||||
@ -55,7 +55,7 @@ export class Vortex extends THREE.Group {
|
|||||||
texture.repeat.set(2, 2)
|
texture.repeat.set(2, 2)
|
||||||
this.colorFullCylinder.material.map = texture
|
this.colorFullCylinder.material.map = texture
|
||||||
})
|
})
|
||||||
this.colorFullCylinder.material.opacity = 0.7
|
this.colorFullCylinder.material.opacity = 0.5
|
||||||
|
|
||||||
this.globalRotation = 0.028
|
this.globalRotation = 0.028
|
||||||
this.darkTextureRotation = 0.005
|
this.darkTextureRotation = 0.005
|
||||||
|
Loading…
x
Reference in New Issue
Block a user