Soft Mask is a Unity component that masks child UI elements. It works almost like standard Unity’s UI Mask but supports gradients and semi-transparency.

Asset StoreDocumentation | Support Thread

  • Easy to use:  just drop it on the Game Object in the same way as Unity's standard Mask.

  • Supports Image, RawImage, Sprite, Texture and RenderTexture.

  • Works with TextMesh Pro.

  • Allows separation of a mask from the masked hierarchy.

  • Can be easily supported in your shaders.

  • Fully real-time: create, destroy, enable, disable, move, rotate and reorder a mask and UI elements at runtime.

  • Can restrict input processing to only visible parts of the masked UI.

  • Allows mask inversion.

  • Adjustable mask sampling: use black and white images, images with transparency or set weight of each color channel manually.

It’s intended to be used with Unity’s UI only. No Sprite or 3D support is included.