Browse Source

Fix: effect not refreshed correctly in some cases

Popov72 5 years ago
parent
commit
bf5bb2cd85
1 changed files with 1 additions and 1 deletions
  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")