Explorar o código

Fix: effect not refreshed correctly in some cases

Popov72 %!s(int64=5) %!d(string=hai) anos
pai
achega
bf5bb2cd85
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")