MeshStandardMaterial on Plasma

This commit is contained in:
Adrien MALINGREY 2024-09-27 03:10:23 +02:00
parent 8c5b704b3c
commit 6ed614d536
2 changed files with 6 additions and 11 deletions

View File

@ -131,7 +131,8 @@ export class TetraGUI extends GUI {
transparent: true,
opacity: 0.7,
roughness: 0.6,
metalness: 1,
ior: 1.8,
metalness: 0.6,
sheen: 0,
sheenRoughness: 1,
specularIntensity: 1,

View File

@ -132,19 +132,13 @@ class InstancedMino extends THREE.InstancedMesh {
class Mino extends THREE.Object3D {
static materials = {
Plasma: new THREE.MeshPhysicalMaterial({
Plasma: new THREE.MeshStandardMaterial({
envMap: environment,
side: THREE.DoubleSide,
transparent: true,
opacity: 0.7,
roughness: 0.6,
ior: 1.8,
metalness: 0.6,
sheen: 0,
sheenRoughness: 1,
specularIntensity: 1,
thickness: 5,
transmission: 1,
opacity: 0.8,
roughness: 0.48,
metalness: 0.67,
}),
Espace: new THREE.MeshStandardMaterial({
envMap: environment,