Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
GUI
1/2
Flexible UI Masking allows you to apply masks in Unity's UI without hierarchy restrictions, using unique Stencil IDs for greater flexibility and control.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2022.3.47f1
Compatible
Compatible
Compatible
Description

Introducing Flexible UI Masking (Hierarchy-Free, Mask by ID)—a powerful solution that revolutionizes the way you apply masks in Unity's UI system. Break free from the limitations of traditional parent-child hierarchy masking. With this plugin, you can effortlessly apply masks to UI elements anywhere in your scene, offering unparalleled flexibility and control over your user interface designs. Utilize unique Stencil IDs to create complex masking effects, dynamic transitions, and engaging interfaces that captivate your users.


Key Features

  • Hierarchy-Free Masking: Apply masks to UI elements regardless of their position in the hierarchy. No need for masks and masked elements to share a parent-child relationship.
  • Mask by ID: Assign unique Stencil IDs to masks and masked elements, allowing multiple masks to coexist independently within the same scene.
  • No Additional Scripts Required: Implement masks seamlessly using custom shaders and materials without the need for extra scripting, streamlining your development process.
  • Automatic Material Management: The plugin handles material instantiation and Stencil ID assignments automatically, reducing setup time and minimizing potential errors.
  • User-Friendly Editor Integration: Benefit from custom Inspector controls with intuitive buttons and real-time error indicators to help you configure masks correctly and ensure optimal performance.
  • Transparent Areas Handling: Properly render transparent areas in masked elements, avoiding common issues like black artifacts or unwanted opacity.
  • Optimized Performance: Lightweight and efficient shaders designed to work seamlessly with Unity's UI system, ensuring high performance across all platforms.

Getting Started

  • Easy Integration: Simply import the package into your Unity project to start applying advanced masks to your UI elements immediately.
  • Step-by-Step Guides: Follow the included documentation for detailed instructions on setting up masks, configuring Stencil IDs, and optimizing your UI.
  • Support & Updates: Receive regular updates and dedicated support to ensure compatibility with new Unity versions and to assist with any questions or issues.

Elevate your UI design with Flexible UI Masking (Hierarchy-Free, Mask by ID) and create stunning, dynamic interfaces that stand out.

Technical details
  • Unity Version Compatibility: Fully compatible with Unity 2019.4 and above, supporting the latest features and updates.
  • Render Pipeline Support: Works seamlessly with the Built-in Render Pipeline (BRP), Universal Render Pipeline (URP), and High Definition Render Pipeline (HDRP).
  • Platform Support: Compatible with all Unity-supported platforms, including mobile, desktop, consoles, and web.
  • Shader Features:Stencil Buffer Utilization: Leverages the stencil buffer for precise and efficient masking operations using unique Stencil IDs.
    Alpha Transparency: Correct handling of alpha channels to render transparent UI elements without visual artifacts.
    Blending Modes: Supports standard blending for smooth integration with other UI components.
  • Editor Extensions:Custom Inspector: Enhanced Inspector interface for masks and masked elements, providing intuitive controls and immediate feedback.
    Real-Time Validation: Automatic detection of hierarchy order issues, displaying clear error messages with red icons to guide corrections.
  • Performance Optimizations:Material Instancing: Efficient use of material instances to minimize draw calls and reduce memory usage.
    Shader Optimization: Lightweight shaders optimized for performance across all platforms.

Flexible UI Masking (Hierarchy-Free, Mask by ID)

(not enough ratings)
$15
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
40.2 KB
Latest version
1.0
Latest release date
Oct 30, 2024
Original Unity version
2022.3.47
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR