# UnitySpriteGPUInstancing **Repository Path**: tang-zhengyu/UnitySpriteGPUInstancing ## Basic Information - **Project Name**: UnitySpriteGPUInstancing - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-12-13 - **Last Updated**: 2024-07-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Unity Sprite GPU Instancing A Unity SpriteRenderer GPU Instancing Implementation Demo ![Batching SpriteRenderer](https://github.com/ownself/UnitySpriteGPUInstancing/blob/main/result.png) Unity Version : 2019.4 ### Key features: * Replace SpriteRenderer with custom MeshRenderer at runtime * Using Vertext shader to represent PixelsPerUnit and offset in Sprite * Combine textures with Texture Array, so textures need to be at same format and size * Use MaterialPropertyBlock for GPU Instancing feature of Unity ### Related Blog: For more information, please check out my Chinese blog post: [Unity Sprite GPU Instancing](http://www.ownself.org/blog/2022/unity-sprite-gpu-instancing.html)