Procházet zdrojové kódy

Fix: effect not refreshed correctly in some cases

Popov72 před 5 roky
rodič
revize
bf5bb2cd85
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/Materials/standardMaterial.ts

+ 1 - 1
src/Materials/standardMaterial.ts

@@ -289,7 +289,7 @@ export class StandardMaterial extends PushMaterial {
     /**
      * Does the transparency come from the diffuse texture alpha channel.
      */
-    @expandToProperty("_markAllSubMeshesAsTexturesDirty")
+    @expandToProperty("_markAllSubMeshesAsTexturesAndMiscDirty")
     public useAlphaFromDiffuseTexture: boolean;
 
     @serialize("useEmissiveAsIllumination")