浏览代码

Fix: effect not refreshed correctly in some cases

Popov72 5 年之前
父节点
当前提交
bf5bb2cd85
共有 1 个文件被更改,包括 1 次插入1 次删除
  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")