• Image
  • Image
  • Image
  • Image
  • Current Version: 1.6: 2017-09-05T16:33:27Z
  • First Published: 2015-01-21T00:17:39Z
  • Size: 748112
  • Supported Unity Versions: 5.4.0
tools sprite-management

Sprite Mask

(66 Votes)
$17.48 $17.48

Sprite Mask allows you to mask objects of type Sprite (SpriteRenderer) and any other whose material support Stencil buffer. Masking is based on the Stencil buffer, therefore it is very "cheap" and versatile.

* Very fast. Each mask "costs" only one draw call.
* Masking is completely performed by GPU.
* Allows to use up to 7 mask levels.
* Inverted masking (1).
* Flat hierarchy. Sprites are allowed to be outside the mask hierarchy.
* Masking part. Mask can be constructed of many objects (renderers).
* Custom mesh. A mesh can be used as mask.
* Allows to use any shader, which supports the Stencil buffer.
* Coexist with Unity UI Mask.
* Compatible with any platforms: Mobile, PC, Web, etc.
* Can be created/enabled/disabled at runtime.

(1) 'Inverted masking' is an experimental feature. It may not work properly in some multi level use cases.

Works on any Unity version!

Supported mask types:
* Rectangle
* Sprite
* Texture
* CustomMesh

* Demo
* Masking parts
* Inverted & masking parts
* Custom mesh
* Example

The standard setting allows for up to 3 levels of masking, and at every level up to 32 independent masks. By changing the configuration, one can get e.g. 4 levels and 16 separate masks for each level or even 7 levels and 2 mask per level.

FORUM THREAD | support [at] truesoft.pl

Add to cart
This site contains affiliate links, which means that we can receive a commission if you click on a link and buy something that we have recommended.
Although clicking on these links will not cost you anything, they will help us finance our development projects while recommending good products!