cocos-engine
cocos-engine copied to clipboard
[3.8.2] When the sprite component renders a texture from RenderTexture, it cannot perform merged rendering. Merged rendering can only be achieved after using a custom material
Cocos Creator version
3.8.2
System information
All
Issue description
When a new material resource is created using the builtin-sprite shader and this material is set as the custom material for the sprite component, merged rendering can be achieved.