Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Unity 2022.2 is now available as the latest Tech release.
    Dismiss Notice
  3. We are making some changes to the DOTS forums.
    Dismiss Notice
  4. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

FuzzySprites - Sprite Slicing/Dicing support for Unity

Discussion in 'Assets and Asset Store' started by RobinBirdStudios, Nov 5, 2021.

  1. RobinBirdStudios

    RobinBirdStudios

    Joined:
    Sep 14, 2018
    Posts:
    4


    Sprite Slicing/Dicing support for Unity. Split up big textures into multiple parts to save Atlas space and improve memory usage. Non-destructive and easy!



    Asset Store Link: https://assetstore.unity.com/packages/slug/119171


    FuzzySprites is a plugin for Unity that makes it much easier and more performant when dealing with big textures in 2D. Have your artists ever given you a very big texture that doesn't compress well or does not fit on a reasonable size atlas? FuzzySprites is here to solve this automatically and maintainable.


    FuzzySprites uses a process called slicing or dicing. It basically cuts the texture into multiple pieces to optimize atlas packing and compression. It flawlessly reconstructs the pieces when rendering it in the game.


    Easy to use
    Just drag in a big texture up to 8K and use the automatic settings or fine tune the slicing to your needs. And you are done. FuzzySprites will make sure the texture is performant and looks great.


    Compatible
    Works with the Sprite Packer (Legacy) and the newer Sprite Atlas. FuzzySprites is tested and supported constantly against all major Unity versions.


    Advanced optimization
    If FuzzySprites detects rects that have the same color or are identical to other rects it does not duplicate this information on the atlas and thus save space. Imaging a texture with a lot of the same blue color (e.g. a sky background). FuzzySprites will only save the blue color once. If some parts of the texture are transparent they will be ignored as well.


    Compression correction
    One of the common problems with slicing is the compression artifacts at the edges of the dices. FuzzySprites looks at the connecting edges and corrects the compression so it looks nearly the same as if the texture has been compressed in one piece.


    Configurable
    FuzzySprites selects clever defaults based on the texture you want to slice/dice. There are also some presets to spread the texture across 1k atlasses or 2k depending what your game needs are.


    Flexible
    Normally the cut sprite is rendered with a custom mesh rendering component. But you can also use SpriteRenderer components to represent the sliced/diced graphic in case your game does some special processing or shader exclusive to SpriteRenderer's.


    Source code included
    Look under the hood and check how FuzzySprites works. Classes are designed to be extended for custom needs. All classes and complex code are well commented for easier understanding.


    Follow us for updates and news

    Website | Twitter | YouTube | Mail

    Feedback is always appreciated!