diff --git a/src/layaAir/laya/loaders/MaterialLoader.ts b/src/layaAir/laya/loaders/MaterialLoader.ts index 162f8722de..a9a9aa539f 100644 --- a/src/layaAir/laya/loaders/MaterialLoader.ts +++ b/src/layaAir/laya/loaders/MaterialLoader.ts @@ -62,6 +62,7 @@ class MaterialLoader implements IResourceLoader { obsoluteInst.setShaderName(mat._shader.name); mat._shaderValues.cloneTo(obsoluteInst._shaderValues); obsoluteInst.renderQueue = mat.renderQueue; + obsoluteInst.materialRenderMode = mat.materialRenderMode; obsoluteInst.obsolute = false; mat.destroy(); return obsoluteInst;