SpriteDicing
SpriteDicing reduces build size by identifying and eliminating duplicate texture regions across multiple sprites. It automatically dices textures into units, discards identical ones, and bakes unique areas into optimized atlas textures that are seamlessly reconstructed at runtime. Ideal for projects with repeating sprite elements, such as visual novels or character animation systems with multiple emotional states.
com.elringus.spritedicing 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/spritedicing.git?path=plugins/unity/Assets/SpriteDicing README Markdown
Copy this to your project's README.md
## Installation
Add **SpriteDicing** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/spritedicing.git?path=plugins%2Funity%2FAssets%2FSpriteDicing
```
[](https://www.pkglnk.dev/pkg/spritedicing)README
Reuse repeating texture regions
Use SpriteDicing to split a set of sprite textures into units, discard identical ones, bake unique units into atlas textures to then seamlessly reconstruct the original sprites at runtime, without actually keeping original textures in the build.
The solution significantly reduces build size when multiple textures with identical areas are used. Consider a visual novel type of game, where multiple textures per character are used, each portraying different emotion; most of the texture space is occupied with identical data, while only a small area varies:
These original five textures have total size of 17.5MB. After dicing, the resulting atlas texture will contain only the unique areas of the original textures and consume just 2.4MB, effectively compressing the textures by 86.3%.
🎬 Get Started
https://dicing.elringus.com/guide/getting-started
Sprite Dicing is used in Naninovel: Visual Novel, Dialogue & Cutscene Storytelling Engine. Check it out!

Comments
No comments yet. Be the first!
Sign in to join the conversation
Sign In