tweaking...
This commit is contained in:
parent
d0120ca2a6
commit
945d349319
@ -55,7 +55,7 @@ export class TetraGUI extends GUI {
|
||||
scene.vortex.colorFullTextureRotation = 0.006
|
||||
scene.vortex.colorFullMoveForward = 0.016
|
||||
|
||||
scene.ambientLight.intensity = .5
|
||||
scene.ambientLight.intensity = 0.5
|
||||
scene.directionalLight.intensity = 6
|
||||
}
|
||||
break
|
||||
|
@ -12,14 +12,14 @@ export class TetraScene extends THREE.Scene {
|
||||
this.vortex = new Vortex(loadingManager)
|
||||
this.add(this.vortex)
|
||||
|
||||
this.ambientLight = new THREE.AmbientLight(0xffffff, .3)
|
||||
this.ambientLight = new THREE.AmbientLight(0xffffff, 0.5)
|
||||
this.add(this.ambientLight)
|
||||
|
||||
this.directionalLight = new THREE.DirectionalLight(0xffffff, 6)
|
||||
this.directionalLight.position.set(5, -100, 0)
|
||||
this.directionalLight.position.set(5, -20, 0)
|
||||
this.add(this.directionalLight)
|
||||
this.directionalLight.target = new THREE.Object3D()
|
||||
this.directionalLight.target.position.set(5, -50, 20)
|
||||
this.directionalLight.target.position.set(5, -10, 20)
|
||||
this.add(this.directionalLight.target)
|
||||
|
||||
|
||||
|
@ -71,22 +71,37 @@ const minoExtrudeSettings = {
|
||||
}
|
||||
let minoGeometry = new THREE.ExtrudeGeometry(minoFaceShape, minoExtrudeSettings)
|
||||
|
||||
/*let minoMaterial = new THREE.MeshStandardMaterial({
|
||||
envMap: environnement,
|
||||
side: THREE.DoubleSide,
|
||||
transparent: true,
|
||||
opacity: 0.8,
|
||||
reflectivity: 0.9,
|
||||
})*/
|
||||
let minoMaterial = new THREE.MeshStandardMaterial({
|
||||
envMap: environnement,
|
||||
side: THREE.DoubleSide,
|
||||
transparent: true,
|
||||
opacity: 0.7,
|
||||
//reflectivity: 0.8,
|
||||
roughness: 0.09,
|
||||
metalness: 0.98,
|
||||
//attenuationDistance: 0.5,
|
||||
//ior: 2,
|
||||
//sheen: 0,
|
||||
//sheenRoughness: 1,
|
||||
//specularIntensity: 1,
|
||||
//thickness: 5,
|
||||
//transmission: 1,
|
||||
opacity: 0.6,
|
||||
roughness: 0.1,
|
||||
metalness: 0.9,
|
||||
})
|
||||
/*
|
||||
let minoMaterial = new THREE.MeshPhysicalMaterial({
|
||||
envMap: environnement,
|
||||
side: THREE.DoubleSide,
|
||||
transparent: true,
|
||||
opacity: 0.6,
|
||||
roughness: 0.1,
|
||||
metalness: 0.90,
|
||||
attenuationDistance: 0.5,
|
||||
ior: 2,
|
||||
sheen: 0,
|
||||
sheenRoughness: 1,
|
||||
specularIntensity: 1,
|
||||
thickness: 5,
|
||||
transmission: 1,
|
||||
})*/
|
||||
|
||||
|
||||
class Mino extends THREE.Object3D {
|
||||
|
Loading…
x
Reference in New Issue
Block a user