tweaks
This commit is contained in:
parent
e1da884441
commit
b227690b31
@ -46,7 +46,7 @@ export class TetraGUI extends GUI {
|
|||||||
scene.vortex.darkCylinder.material.map = darkTexture
|
scene.vortex.darkCylinder.material.map = darkTexture
|
||||||
scene.vortex.darkCylinder.material.opacity = 0.055
|
scene.vortex.darkCylinder.material.opacity = 0.055
|
||||||
scene.vortex.colorFullCylinder.material.map = colorfullTexture
|
scene.vortex.colorFullCylinder.material.map = colorfullTexture
|
||||||
scene.vortex.colorFullCylinder.material.opacity = 0.7
|
scene.vortex.colorFullCylinder.material.opacity = 0.6
|
||||||
|
|
||||||
scene.vortex.globalRotation = 0.028
|
scene.vortex.globalRotation = 0.028
|
||||||
scene.vortex.darkTextureRotation = 0.005
|
scene.vortex.darkTextureRotation = 0.005
|
||||||
@ -56,6 +56,10 @@ export class TetraGUI extends GUI {
|
|||||||
|
|
||||||
scene.ambientLight.intensity = 1
|
scene.ambientLight.intensity = 1
|
||||||
scene.directionalLight.intensity = 1
|
scene.directionalLight.intensity = 1
|
||||||
|
|
||||||
|
Mino.material.opacity = 0.6
|
||||||
|
Mino.material.roughness = 0.4
|
||||||
|
Mino.material.metalness = 0.95
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case "Espace":
|
case "Espace":
|
||||||
@ -71,9 +75,9 @@ export class TetraGUI extends GUI {
|
|||||||
})
|
})
|
||||||
loadingManager.onLoad = function() {
|
loadingManager.onLoad = function() {
|
||||||
scene.vortex.darkCylinder.material.map = darkTexture
|
scene.vortex.darkCylinder.material.map = darkTexture
|
||||||
scene.vortex.darkCylinder.material.opacity = 0.2
|
scene.vortex.darkCylinder.material.opacity = 0.055
|
||||||
scene.vortex.colorFullCylinder.material.map = colorfullTexture
|
scene.vortex.colorFullCylinder.material.map = colorfullTexture
|
||||||
scene.vortex.colorFullCylinder.material.opacity = 0.2
|
scene.vortex.colorFullCylinder.material.opacity = 0.6
|
||||||
|
|
||||||
scene.vortex.globalRotation = 0.028
|
scene.vortex.globalRotation = 0.028
|
||||||
scene.vortex.darkTextureRotation = 0.006
|
scene.vortex.darkTextureRotation = 0.006
|
||||||
@ -81,8 +85,8 @@ export class TetraGUI extends GUI {
|
|||||||
scene.vortex.colorFullTextureRotation = 0.006
|
scene.vortex.colorFullTextureRotation = 0.006
|
||||||
scene.vortex.colorFullMoveForward = 0.02
|
scene.vortex.colorFullMoveForward = 0.02
|
||||||
|
|
||||||
scene.ambientLight.intensity = 2
|
scene.ambientLight.intensity = 0.6
|
||||||
scene.directionalLight.intensity = 3
|
scene.directionalLight.intensity = 1
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
@ -162,7 +166,7 @@ export class TetraGUI extends GUI {
|
|||||||
side: THREE.DoubleSide,
|
side: THREE.DoubleSide,
|
||||||
transparent: true,
|
transparent: true,
|
||||||
opacity: 0.6,
|
opacity: 0.6,
|
||||||
roughness: 0.4,
|
roughness: 0.06,
|
||||||
metalness: 0.95,
|
metalness: 0.95,
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
|
@ -42,7 +42,7 @@ export class Vortex extends THREE.Group {
|
|||||||
texture.repeat.set(2, 1)
|
texture.repeat.set(2, 1)
|
||||||
}),
|
}),
|
||||||
blending: THREE.AdditiveBlending,
|
blending: THREE.AdditiveBlending,
|
||||||
opacity: 0.7
|
opacity: 0.6
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
this.add(this.colorFullCylinder)
|
this.add(this.colorFullCylinder)
|
||||||
|
@ -121,7 +121,7 @@ class Mino extends THREE.Object3D {
|
|||||||
side: THREE.DoubleSide,
|
side: THREE.DoubleSide,
|
||||||
transparent: true,
|
transparent: true,
|
||||||
opacity: 0.6,
|
opacity: 0.6,
|
||||||
roughness: 0.4,
|
roughness: 0.06,
|
||||||
metalness: 0.95,
|
metalness: 0.95,
|
||||||
})
|
})
|
||||||
this.mesh = new InstancedMino(minoGeometry, minoMaterial, 2*ROWS*COLUMNS)
|
this.mesh = new InstancedMino(minoGeometry, minoMaterial, 2*ROWS*COLUMNS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user