[engine] 多纹理渲染 - sprite -> universal

This commit is contained in:
SmallMain
2022-06-26 23:56:01 +08:00
parent 03533b046c
commit d2a705be6d
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ export class MultiHandler {
this.material = material;
} else {
this.material = (cc.Material as any).create(cc.sp.multi2dSpriteEffectAsset);
this.material.name = "multi-2d-sprite";
this.material.name = "multi-2d-universal";
this.material.define('USE_TEXTURE', true);
this.material.define('USE_MULTI_TEXTURE', true);
}