sebavan před 5 roky
rodič
revize
521b189306
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/Materials/PBR/pbrMaterial.ts

+ 1 - 1
src/Materials/PBR/pbrMaterial.ts

@@ -196,7 +196,7 @@ export class PBRMaterial extends PBRBaseMaterial {
      */
     @serializeAsTexture()
     @expandToProperty("_markAllSubMeshesAsTexturesDirty")
-    public metallicReflectanceTexture: BaseTexture;
+    public metallicReflectanceTexture: Nullable<BaseTexture>;
 
     /**
      * Used to enable roughness/glossiness fetch from a separate channel depending on the current mode.