The Fast Sprite Mask package is designed to provide a high-performance solution for applying smooth masks in Unity. Key features include:
Inside/outside smooth/hard masking
Two masking methods:
- All masks to all target sprites with a single draw call
- One mask to many sprites, with one sprite per mask
Optimization using SpriteAtlas
Simple MonoBehaviour components
Code utilities for custom implementation
Faster than Unity's built-in SpriteMask
The included masks are optimized for performance, with minimal draw calls and good support for multiple instances. They also support soft masks and p2p masking, unlike Unity's SpriteMasks. Additionally, the package includes code utilities and Shader Graph nodes for custom shader creation.
Please note that this package requires URP and supports mobile devices, ShaderGraph, and Unity 2D Light. It also supports normal maps, Sprite Shape, and has an editor preview. However, it only supports 2D (Z) axis and requires X and Z rotation to be 0.
Requires URP, supports mobile devices, ShaderGraph, and Unity 2D Light. Supports normal maps, Sprite Shape, and has an editor preview. However, it only supports 2D (Z) axis and requires X and Z rotation to be 0.




