Sprite Layer Swap Shader

$4
Publisher Nost Games
File size 579.48kB
Number of files 96
Latest version 1
Latest release date 2019-07-25 06:42:11
First release date 2019-07-24 09:06:10
Supported Unity versions 2018.4.2 or higher
Sprite Layer Swap is a shader based on Unity Sprite shaders able to put up 10 layers in top of each other, displaying complex 2D objects in game.

Every Sprite Renderer using this shader will display the same stacked layers.
You can use Animator component to key animate your sprite frames.
All shaders are based on Unity Sprite Shader.

Play the WebGL DEMO

Package includes:
- Default Shader: the same Unity Default Sprite shader + option to add 10 layers.
- Diffuse Shader: the same Unity Diffuse Sprite shader + option to add 10 layers to interact with lights.
- Otimization: uses shaders to optimize the sprite layer drawing process.
- Sprite Swap component: MonoBehaviour script component to easily swap layers during runtime.
- Documentation: source code is fully documentaded.

See the full documentation for more info!

Credits from Open Game Art:
- Hero spritesheet by Balmer.
- Level tiles by Surt.

Top Publisher Assets