瀏覽代碼

Remove duplicate transmission property (#22464)

WestLangley 3 年之前
父節點
當前提交
a6f25bce55
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/materials/MeshPhysicalMaterial.js

+ 0 - 3
src/materials/MeshPhysicalMaterial.js

@@ -72,7 +72,6 @@ class MeshPhysicalMaterial extends MeshStandardMaterial {
 		this.sheenTint = new Color( 0x000000 );
 		this.sheenRoughness = 1.0;
 
-		this.transmission = 0.0;
 		this.transmissionMap = null;
 
 		this.thickness = 0.01;
@@ -88,7 +87,6 @@ class MeshPhysicalMaterial extends MeshStandardMaterial {
 		this._clearcoat = 0;
 		this._transmission = 0;
 
-
 		this.setValues( parameters );
 
 	}
@@ -129,7 +127,6 @@ class MeshPhysicalMaterial extends MeshStandardMaterial {
 
 	}
 
-
 	copy( source ) {
 
 		super.copy( source );