Efficient Sprite Masking for Unity

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.

Efficient Sprite Masking for Unity - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

Efficient Camera Culling for Unity

Efficient Camera Culling for Unity Thumbnail

Efficient Object Pooling for Unity

Efficient Object Pooling for Unity Thumbnail

Efficient AI Traffic System for Unity

Efficient AI Traffic System for Unity Thumbnail

Enhanced Sprite Editing for Unity

Enhanced Sprite Editing for Unity Thumbnail

Fast and Efficient Data Compression for Unity

Fast and Efficient Data Compression for Unity Thumbnail

Efficient Data Packing for Unity

Efficient Data Packing for Unity Thumbnail