The dream of every Flash artist coming to Unity3d art production is to get familiar tools and practices. One of the major workflows in Flash is masking images with other images. This is something that Unity missed outside of UI images. To mask 2D Sprites, it was left to creating custom shaders or downloading tool packages from the asset store.
In this post I am going to explain the use of stencil shaders to create masking effects in Unity sprites. Here is the output we are going to target.