Просмотр исходного кода

MeshPhysicalMaterial: Update thickness default. (#22762)

Michael Herzog 3 лет назад
Родитель
Сommit
41fe2a7919
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/materials/MeshPhysicalMaterial.js

+ 1 - 1
src/materials/MeshPhysicalMaterial.js

@@ -79,7 +79,7 @@ class MeshPhysicalMaterial extends MeshStandardMaterial {
 
 		this.transmissionMap = null;
 
-		this.thickness = 0.01;
+		this.thickness = 0;
 		this.thicknessMap = null;
 		this.attenuationDistance = 0.0;
 		this.attenuationColor = new Color( 1, 1, 1 );