MeshPhysicalMaterial on Plasma
This commit is contained in:
parent
1b0f1c07d2
commit
8c5b704b3c
@ -129,11 +129,9 @@ export class TetraGUI extends GUI {
|
||||
envMap: environment,
|
||||
side: THREE.DoubleSide,
|
||||
transparent: true,
|
||||
opacity: 0.6,
|
||||
roughness: 0.5,
|
||||
metalness: 0.67,
|
||||
attenuationDistance: 0.5,
|
||||
ior: 2,
|
||||
opacity: 0.7,
|
||||
roughness: 0.6,
|
||||
metalness: 1,
|
||||
sheen: 0,
|
||||
sheenRoughness: 1,
|
||||
specularIntensity: 1,
|
||||
|
@ -132,13 +132,19 @@ class InstancedMino extends THREE.InstancedMesh {
|
||||
|
||||
class Mino extends THREE.Object3D {
|
||||
static materials = {
|
||||
Plasma: new THREE.MeshStandardMaterial({
|
||||
Plasma: new THREE.MeshPhysicalMaterial({
|
||||
envMap: environment,
|
||||
side: THREE.DoubleSide,
|
||||
transparent: true,
|
||||
opacity: 0.8,
|
||||
roughness: 0.48,
|
||||
metalness: 0.67,
|
||||
opacity: 0.7,
|
||||
roughness: 0.6,
|
||||
ior: 1.8,
|
||||
metalness: 0.6,
|
||||
sheen: 0,
|
||||
sheenRoughness: 1,
|
||||
specularIntensity: 1,
|
||||
thickness: 5,
|
||||
transmission: 1,
|
||||
}),
|
||||
Espace: new THREE.MeshStandardMaterial({
|
||||
envMap: environment,
|
||||
|
Loading…
x
Reference in New Issue
Block a user