tweaks
This commit is contained in:
parent
02725494cd
commit
b0dbb06dae
@ -45,18 +45,18 @@ export class TetraGUI extends GUI {
|
||||
})
|
||||
loadingManager.onLoad = function() {
|
||||
scene.vortex.darkCylinder.material.map = darkTexture
|
||||
scene.vortex.darkCylinder.material.opacity = 0.1
|
||||
scene.vortex.darkCylinder.material.opacity = 0.035
|
||||
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.darkTextureRotation = 0.005
|
||||
scene.vortex.darkMoveForward = 0.009
|
||||
scene.vortex.colorFullTextureRotation = 0.006
|
||||
scene.vortex.colorFullMoveForward = 0.013
|
||||
scene.vortex.colorFullMoveForward = 0.015
|
||||
|
||||
scene.ambientLight.intensity = 1
|
||||
scene.directionalLight.intensity = 5
|
||||
scene.directionalLight.intensity = 1
|
||||
}
|
||||
break
|
||||
case "Espace":
|
||||
|
@ -15,8 +15,8 @@ export class TetraScene extends THREE.Scene {
|
||||
this.ambientLight = new THREE.AmbientLight(0xffffff, 1)
|
||||
this.add(this.ambientLight)
|
||||
|
||||
this.directionalLight = new THREE.DirectionalLight(0xffffff, 5)
|
||||
this.directionalLight.position.set(5, 40, 20)
|
||||
this.directionalLight = new THREE.DirectionalLight(0xffffff, 1)
|
||||
this.directionalLight.position.set(5, 0, 20)
|
||||
this.add(this.directionalLight)
|
||||
|
||||
|
||||
|
@ -11,7 +11,7 @@ export class Vortex extends THREE.Group {
|
||||
this.darkMoveForward = 0.009
|
||||
|
||||
this.colorFullTextureRotation = 0.006
|
||||
this.colorFullMoveForward = 0.013
|
||||
this.colorFullMoveForward = 0.015
|
||||
|
||||
const commonCylinderGeometry = new THREE.CylinderGeometry(35, 35, 500, 12, 1, true)
|
||||
|
||||
@ -27,7 +27,7 @@ export class Vortex extends THREE.Group {
|
||||
texture.repeat.set(1, 1)
|
||||
}),
|
||||
blending: THREE.AdditiveBlending,
|
||||
opacity: 0.1
|
||||
opacity: 0.035
|
||||
})
|
||||
)
|
||||
this.add(this.darkCylinder)
|
||||
@ -42,7 +42,7 @@ export class Vortex extends THREE.Group {
|
||||
texture.repeat.set(2, 1)
|
||||
}),
|
||||
blending: THREE.AdditiveBlending,
|
||||
opacity: 0.7
|
||||
opacity: 0.6
|
||||
})
|
||||
)
|
||||
this.add(this.colorFullCylinder)
|
||||
|
@ -90,7 +90,7 @@ let minoMaterial = new THREE.MeshStandardMaterial({
|
||||
transparent: true,
|
||||
opacity: 0.6,
|
||||
roughness: 0.1,
|
||||
metalness: 0.9,
|
||||
metalness: 0.95,
|
||||
})
|
||||
/*
|
||||
let minoMaterial = new THREE.MeshPhysicalMaterial({
|
||||
|
Loading…
x
Reference in New Issue
Block a user