Publisher | TrueSoft |
---|---|
File size | 730.58kB |
Number of files | 46 |
Latest version | 1 |
Latest release date | 2017-09-05 04:33:27 |
First release date | 2015-01-21 12:17:39 |
Supported Unity versions | 2018.4.2 or higher |
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.
Features:
* 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
Examples:
* 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
Features:
* 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
Examples:
* 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