View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.1
- Last updated
- First released
- Unity version
- 2021.3.38 or later
- Package size
- 99 KB
- Files
- 19
- Favorites
- 37
- Views in the past week
- 6
- Requires
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Simple Sprite Combine
Combine static 2D sprites in your scene into one texture and save on draw calls!
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 7
Simple Sprite Combine screenshot 1
About this asset
This asset provides a component script with a button that will combine specified SpriteRenderer sprites in the scene into one big texture.
This process can save hundreds of batches, especially for 2D sprite-based games that use Unity Lighting and frequently display many static environmental assets. The example shown in the video cuts the number of batches from 477 to 200. It has been very helpful for saving CPU usage when porting to the Nintendo Switch, or targeting lower-end computers, even in pixel art games.
See SimpleSpriteCombine.cs in the package contents after importing for directions on how to use.
Note that for SpriteRenderers that use different materials or tint colors, separate combined sprites will need to be generated.
This package is dependent on the NaughtyAttributes Unity Asset, so you will need to import that asset into your project before Simple Sprite Combine will compile.
For those curious, the artwork used in the example screenshots and icons for this asset are from the game Batbarian: Testament of the Primordials, used with permission from Unspeakable Pixels.
This asset uses Generic RPG Pack for sprites in its demo scene, under the CC0 1.0 Universal (CC0 1.0) license; see "Third Party Notices.md" file in package for details.
From the publisher's Asset Store listing.
Technical details
Contains a tool to combine the contents of Sprite Renderers in a Scene into one large Texture, improving performance by saving on draw calls.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2021.3.38f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.