"4b3b2df4304d6533"{"id":"22863","slug":"ams-ui-soft-mask","title":"AMS UI Soft Mask","category":"GUI","engine":"Original Unity version: 2021.3.45","assetVersion":"Original Unity version: 2021.3.45","engineVersion":"Asset Version:2.0.0","tag":"GUI","accent":"cyan","visual":"luts","summary":"AMS UI Soft Mask provides a specialized solution for Unity developers looking to move beyond binary masking into smooth, gradient-based UI transitions and layered effects.","platform":"Unity","indexPolicy":"index","publishedAt":"2026-04-07T13:15:07.000Z","updatedAt":"2026-04-19T15:37:00.000Z","sourceNotes":[],"fileContents":[],"compatibility":["Unity","Original Unity version: 2021.3.45","Asset Version: 2.0.0"],"featuredImage":{"alt":"AMS UI Soft Mask","src":"https://3dcghub.com/wp-content/uploads/2026/04/f1f6be6a825a_fec01d0d-b870-495b-9b23-93adc6ed3e56_1280x720_stretch.webp"},"fileSizeBytes":5565799,"hasDownloadLink":true,"downloads":0,"terms":[{"taxonomy":"category","slug":"gui-tools-unity-2","name":"GUI"},{"taxonomy":"post_tag","slug":"tools","name":"Tools"},{"taxonomy":"post_tag","slug":"ui","name":"UI"},{"taxonomy":"post_tag","slug":"unity","name":"Unity"}],"galleryImages":[{"src":"https://3dcghub.com/wp-content/uploads/2026/04/484a391e17fb_be157e66-9f34-42db-864f-c0b726dc7960_scaled.webp","alt":"AMS UI Soft Mask"},{"src":"https://3dcghub.com/wp-content/uploads/2026/04/1c931076a13e_1f2c07f2-a858-4c6e-923e-4cf6215282a3_scaled.webp","alt":"AMS UI Soft Mask"},{"src":"https://3dcghub.com/wp-content/uploads/2026/04/a2f6747297e1_e6f31ac4-a2ad-462b-8753-e473ad778747_scaled.webp","alt":"AMS UI Soft Mask"}],"accessPanel":{"kind":"resource","title":"Get this resource","safetyNote":"All resources are 100% manually reviewed to eliminate all risks.","fileName":"AMS UI Soft Mask v2.0.0 (23 Apr 2025).7z","resourceType":"Resource archive","versions":[]},"contentHtml":"\u003ch2\u003eGradient-Based UI Depth and Visual Polish\u003c/h2\u003e\u003cp\u003eThe standard Unity user interface system often relies on binary masking, where an element is either entirely visible or entirely hidden. AMS UI Soft Mask shifts this paradigm by introducing gradient-based masks that allow for smooth, subtle transitions. By utilizing soft masks, developers and artists can apply elegant finishes to UI elements, ensuring that edges blend seamlessly into the background or other interface components. This capability is particularly useful for creating sophisticated HUDs, menus, and overlays where a harsh cut-off would disrupt the aesthetic flow of the project.\u003c/p\u003e\u003cp\u003eThe tool provides precise control over how elements are revealed or concealed. Whether the objective is to fade out an individual button or to apply a global mask to an entire UI group, the system handles the transition with professional-grade softness. This flexibility enables the creation of captivating transitions that can engage users more effectively than static, hard-edged interfaces.\u003c/p\u003e\u003ch2\u003eComplex Masking Through Stacking and Inversion\u003c/h2\u003e\u003cp\u003eOne of the more advanced functional aspects of this resource is the support for mask stacking. This feature allows multiple masks to influence a single element or group of elements simultaneously. By layering these masks, developers can create complex visual compositions where different masking shapes and gradients intersect to produce unique visibility patterns. This is essential for intricate UI layouts where nested elements might require different levels of transparency or specific shapes to be cut out of their parent containers.\u003c/p\u003e\u003cp\u003eTo further enhance visual flexibility, the package includes both Normal and Inverted mask modes. The Normal mode operates as expected, showing content within the mask's bounds, while the Inverted mode allows developers to hide specific areas while keeping the rest of the UI visible. This is a powerful tool for creating 'hole' effects or spotlighting specific UI sections during tutorials or gameplay events. Combined with fall-off and opacity controls, these modes give creators full authority over the tiny visual details that define a high-quality user experience.\u003c/p\u003e\u003ch2\u003eInteraction Management and Raycast Thresholds\u003c/h2\u003e\u003cp\u003eFunctionality in UI design is not limited to visuals; it also involves how the user interacts with the elements on screen. In the latest updates to the system, the developer has introduced a Raycast Target option. This feature allows for blocking raycasts—the invisible lines that detect mouse clicks or touch inputs—below a specified alpha threshold. This ensures that if a UI element is masked to the point of being nearly invisible, it will no longer intercept user interactions, preventing confusing 'dead zones' where a user might click on something they cannot see.\u003c/p\u003e\u003cp\u003eAlso, the tool includes specific improvements for TextMesh Pro (TMP) and Sliced UV handling. The 9-slice algorithm has been refined to ensure that even when UI elements are stretched or scaled, the masking remains consistent and visually accurate. These technical refinements ensure that the soft masking logic does not break the standard behavior of Unity's fundamental UI components.\u003c/p\u003e\u003ch2\u003eIntegration with Custom Shaders and Render Pipelines\u003c/h2\u003e\u003cp\u003eThe system is built to be pipeline-agnostic, offering compatibility across the Built-in Render Pipeline (BRP), Universal Render Pipeline (URP), High Definition Render Pipeline (HDRP), and even Custom Scriptable Render Pipelines. This broad support makes it a versatile choice for projects ranging from mobile games to high-fidelity desktop experiences. The asset is designed to work across all build platforms, ensuring that the visual quality of the UI remains consistent regardless of the target hardware.\u003c/p\u003e\u003cp\u003eFor technical artists who require even more control, the package supports custom shaders. Whether a shader is created using Shader Graph, Amplify Shader Editor, or is hand-coded, it can be integrated with the soft masking system. This allows for the extension of visual capabilities beyond standard masking, enabling unique effects like shimmering, animated textures, or custom distortions that still respect the boundaries and gradients defined by the soft mask.\u003c/p\u003e\u003ch2\u003eWorkflow Optimization and Setup\u003c/h2\u003e\u003cp\u003eSetting up the masking system is designed to be straightforward, with automatic management of mask propagation across the UI hierarchy. This automation is crucial for maintaining performance, as it ensures optimal batching. By managing how masks are applied down the hierarchy, the tool minimizes the draw call overhead that can sometimes plague complex UI systems. The package includes detailed documentation in both PDF and online formats, providing step-by-step instructions and walkthroughs for integrating the masking logic into custom shaders, making it accessible for developers regardless of their previous experience with shader programming.\u003c/p\u003e\u003cp\u003eAMS UI Soft Mask serves as a comprehensive toolset for developers who need more than basic masking functionality. By combining gradient control, mask stacking, and deep integration with Unity's rendering pipelines, it provides a robust framework for building modern, high-quality user interfaces.\u003c/p\u003e\n\n\u003ch2\u003eContinue Browsing Similar Packs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://3dcghub.com/uma-for-rpg-builder/\" rel=\"noopener noreferrer\"\u003eUMA for RPG Builder\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://3dcghub.com/survival-engine-crafting-building-farming/\" rel=\"noopener noreferrer\"\u003eSurvival Engine – Crafting, Building, Farming\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://3dcghub.com/classic-city-builder-kit/\" rel=\"noopener noreferrer\"\u003eClassic City Builder Kit\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://3dcghub.com/picture-quiz-plus/\" rel=\"noopener noreferrer\"\u003ePicture Quiz Plus\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://3dcghub.com/stage-equipment-devices-and-spotlight/\" rel=\"noopener noreferrer\"\u003eStage equipment – devices and spotlight\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eAsset Gallery\u003c/h2\u003e","contentTextLength":5409,"navigation":{"current":4748,"total":4889,"previous":{"id":"22798","slug":"third-person-controller-humanoid-basics","title":"Third Person Controller - Humanoid Basics","category":"Game Toolkits","platform":"Unity","updatedAt":"2026-04-19T15:37:01.000Z"},"next":{"id":"22854","slug":"aline","title":"ALINE","category":"GUI","platform":"Unity","updatedAt":"2026-04-19T15:37:00.000Z"}},"relatedResources":[{"id":"22917","slug":"true-shadow-ui-soft-shadow-and-glow","title":"True Shadow - UI Soft Shadow and Glow","category":"GUI","engine":"Original Unity version: 2020.3.48","assetVersion":"Original Unity version: 2020.3.48","engineVersion":"Asset Version:1.12.2","tag":"GUI","accent":"cyan","visual":"animation","summary":"True Shadow replaces manually baked textures with a real-time generation system for soft shadows and glows within Unity. It supports complex neumorphic designs and integrates across all major render pipelines.","platform":"Unity","indexPolicy":"index","publishedAt":"2026-04-07T13:24:01.000Z","updatedAt":"2026-04-19T15:36:57.000Z","sourceNotes":[],"fileContents":[],"compatibility":["Unity","Original Unity version: 2020.3.48","Asset Version: 1.12.2"],"featuredImage":{"alt":"True Shadow - UI Soft Shadow and Glow","src":"https://3dcghub.com/wp-content/uploads/2026/04/db8ed2563b4f_fd4f2569-97ef-43cf-85cb-a62896e55d94_1280x720_stretch.webp"},"fileSizeBytes":1954369,"hasDownloadLink":true,"downloads":0},{"id":"22934","slug":"world-map-2d-edition-2","title":"World Map 2D Edition 2","category":"GUI","engine":"Original Unity version: 2022.3.24","assetVersion":"Original Unity version: 2022.3.24","engineVersion":"Asset Version:10.0.1","tag":"GUI","accent":"cyan","visual":"character","summary":"World Map 2D Edition 2 provides a fully interactive, offline geopolitical framework for Unity, featuring procedural frontiers for over 200 countries and extensive customization via a built-in map editor.","platform":"Unity","indexPolicy":"index","publishedAt":"2026-04-07T13:28:05.000Z","updatedAt":"2026-04-19T15:36:56.000Z","sourceNotes":[],"fileContents":[],"compatibility":["Unity","Original Unity version: 2022.3.24","Asset Version: 10.0.1"],"featuredImage":{"alt":"World Map 2D Edition 2","src":"https://3dcghub.com/wp-content/uploads/2026/04/d4bb055ea98e_eb5eaa8c-e41b-4c6d-a258-05a9582c69c2_1280x720_stretch.webp"},"fileSizeBytes":143234670,"hasDownloadLink":true,"downloads":3},{"id":"22887","slug":"modern-ui-pack","title":"Modern UI Pack","category":"GUI","engine":"Original Unity version: 2020.3.48","assetVersion":"Original Unity version: 2020.3.48","engineVersion":"Asset Version:5.5.25","tag":"GUI","accent":"cyan","visual":"audio","summary":"Modern UI Pack provides a clean and stylish collection of UI elements built on Unity's native UGUI system. It allows developers to manage global interface styles through a centralized UI Manager and includes a library of over 18 diverse components.","platform":"Unity","indexPolicy":"noindex","publishedAt":"2026-04-07T13:15:33.000Z","updatedAt":"2026-04-19T15:36:59.000Z","sourceNotes":[],"fileContents":[],"compatibility":["Unity","Original Unity version: 2020.3.48","Asset Version: 5.5.25"],"featuredImage":{"alt":"Modern UI Pack","src":"https://3dcghub.com/wp-content/uploads/2026/04/f07cbb586526_e78dc796-d096-45fd-a24a-6c73277bed8d_1280x720_stretch.webp"},"fileSizeBytes":11577855,"hasDownloadLink":true,"downloads":2}]}[{"id":4225,"sourceId":4225,"taxonomyId":4225,"taxonomy":"category","slug":"asset-library","name":"Asset Library","parentId":null,"count":4744,"hasChildren":true,"href":"/","seoTitle":"Free Game Assets Library | 3DCGHUB","seoDescription":"Browse free Unreal Engine, Unity, Blender assets and game development tutorials on 3DCGHUB with previews, compatibility notes, and secure downloads.","sitemapEnabled":true,"children":[{"id":4227,"sourceId":4227,"taxonomyId":4227,"taxonomy":"category","slug":"blender-add-ons-plugins","name":"Blender Add-ons \u0026 Plugins","parentId":4225,"count":10,"hasChildren":false,"href":"/category/blender-add-ons-plugins/","seoTitle":"Free Blender Add-ons \u0026 Plugins | 3DCGHUB","seoDescription":"Browse free Blender Add-ons \u0026 Plugins tools for Blender on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true},{"id":514,"sourceId":514,"taxonomyId":514,"taxonomy":"category","slug":"unity-2","name":"Unity","parentId":4225,"count":453,"hasChildren":true,"href":"/category/unity-2/","seoTitle":"Free Unity Assets | 3DCGHUB","seoDescription":"Browse free Unity resources on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true,"children":[{"id":523,"sourceId":523,"taxonomyId":523,"taxonomy":"category","slug":"2d","name":"2D","parentId":514,"count":1,"hasChildren":true,"href":"/category/2d/","seoTitle":"Free Unity 2D | 3DCGHUB","seoDescription":"Browse free 2D assets for Unity on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true},{"id":515,"sourceId":515,"taxonomyId":515,"taxonomy":"category","slug":"3d-unity-2","name":"3D","parentId":514,"count":162,"hasChildren":true,"href":"/category/3d-unity-2/","seoTitle":"Free Unity 3D Assets | 3DCGHUB","seoDescription":"Browse free 3D assets for Unity on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true},{"id":565,"sourceId":565,"taxonomyId":565,"taxonomy":"category","slug":"add-ons","name":"Add-Ons","parentId":514,"count":2,"hasChildren":false,"href":"/category/add-ons/","seoTitle":"Free Unity Add-Ons | 3DCGHUB","seoDescription":"Browse free Add-Ons assets for Unity on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true},{"id":529,"sourceId":529,"taxonomyId":529,"taxonomy":"category","slug":"audio-unity-2","name":"Audio","parentId":514,"count":1,"hasChildren":true,"href":"/category/audio-unity-2/","seoTitle":"Free Unity Audio | 3DCGHUB","seoDescription":"Browse free Audio for Unity on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true},{"id":557,"sourceId":557,"taxonomyId":557,"taxonomy":"category","slug":"templates","name":"Templates","parentId":514,"count":36,"hasChildren":true,"href":"/category/templates/","seoTitle":"Free Unity Templates | 3DCGHUB","seoDescription":"Browse free Unity project templates on 3DCGHUB. Starter kits with previews, compatibility notes, and secure download access.","sitemapEnabled":true},{"id":533,"sourceId":533,"taxonomyId":533,"taxonomy":"category","slug":"tools-unity-2","name":"Tools","parentId":514,"count":0,"hasChildren":true,"href":"/category/tools-unity-2/","sitemapEnabled":true},{"id":554,"sourceId":554,"taxonomyId":554,"taxonomy":"category","slug":"vfx-unity-2","name":"VFX","parentId":514,"count":4,"hasChildren":true,"href":"/category/vfx-unity-2/","seoTitle":"Free Unity VFX | 3DCGHUB","seoDescription":"Browse free VFX for Unity on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true}]},{"id":511,"sourceId":511,"taxonomyId":511,"taxonomy":"category","slug":"unreal-engine-2","name":"Unreal Engine","parentId":4225,"count":4282,"hasChildren":true,"href":"/category/unreal-engine-2/","seoTitle":"Free Unreal Engine Assets | 3DCGHUB","seoDescription":"Browse free Unreal Engine resources on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true,"children":[{"id":54,"sourceId":54,"taxonomyId":54,"taxonomy":"category","slug":"3d","name":"3D","parentId":511,"count":2428,"hasChildren":true,"href":"/category/3d/","seoTitle":"Free Unreal Engine 3D | 3DCGHUB","seoDescription":"Browse free 3D assets for Unreal Engine on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true},{"id":441,"sourceId":441,"taxonomyId":441,"taxonomy":"category","slug":"animations","name":"Animations","parentId":511,"count":245,"hasChildren":true,"href":"/category/animations/","seoTitle":"Free Unreal Engine Animations | 3DCGHUB","seoDescription":"Browse free Animations for Unreal Engine on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true},{"id":446,"sourceId":446,"taxonomyId":446,"taxonomy":"category","slug":"audio","name":"Audio","parentId":511,"count":63,"hasChildren":true,"href":"/category/audio/","seoTitle":"Free Unreal Engine Audio Resources | 3DCGHUB","seoDescription":"Browse free Unreal Engine audio resources including sound effects, voices, dialogue, and ambient sounds. Curated free downloads on 3DCGHUB.","sitemapEnabled":true},{"id":466,"sourceId":466,"taxonomyId":466,"taxonomy":"category","slug":"game-systems","name":"Game Systems","parentId":511,"count":356,"hasChildren":true,"href":"/category/game-systems/","seoTitle":"Free Unreal Engine Game Systems | 3DCGHUB","seoDescription":"Browse free Game Systems tools for Unreal Engine on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true},{"id":478,"sourceId":478,"taxonomyId":478,"taxonomy":"category","slug":"game-templates","name":"Game Templates","parentId":511,"count":150,"hasChildren":true,"href":"/category/game-templates/","seoTitle":"Free Unreal Engine Game Templates | 3DCGHUB","seoDescription":"Browse free Game Templates for Unreal Engine on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true},{"id":432,"sourceId":432,"taxonomyId":432,"taxonomy":"category","slug":"hdri","name":"HDRI","parentId":511,"count":6,"hasChildren":true,"href":"/category/hdri/","seoTitle":"Free Unreal Engine HDRI | 3DCGHUB","seoDescription":"Browse free Unreal Engine HDRI skies and lighting maps on 3DCGHUB. Environment lighting with previews and secure downloads.","sitemapEnabled":true},{"id":228,"sourceId":228,"taxonomyId":228,"taxonomy":"category","slug":"material-and-textures","name":"Material \u0026 Textures","parentId":511,"count":172,"hasChildren":true,"href":"/category/material-and-textures/","seoTitle":"Free Unreal Engine Material \u0026 Textures | 3DCGHUB","seoDescription":"Browse free Material \u0026 Textures for Unreal Engine on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true},{"id":298,"sourceId":298,"taxonomyId":298,"taxonomy":"category","slug":"sprites-and-flipbooks","name":"Sprites \u0026 Flipbooks","parentId":511,"count":17,"hasChildren":true,"href":"/category/sprites-and-flipbooks/","seoTitle":"Free Unreal Engine Sprites \u0026 Flipbooks | 3DCGHUB","seoDescription":"Browse free Sprites \u0026 Flipbooks assets for Unreal Engine on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true},{"id":489,"sourceId":489,"taxonomyId":489,"taxonomy":"category","slug":"tools-and-plugins","name":"Tools \u0026 Plugins","parentId":511,"count":390,"hasChildren":true,"href":"/category/tools-and-plugins/","seoTitle":"Free Unreal Engine Tools \u0026 Plugins | 3DCGHUB","seoDescription":"Browse free Tools \u0026 Plugins for Unreal Engine on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true},{"id":459,"sourceId":459,"taxonomyId":459,"taxonomy":"category","slug":"ui","name":"UI","parentId":511,"count":43,"hasChildren":true,"href":"/category/ui/","seoTitle":"Free Unreal Engine UI | 3DCGHUB","seoDescription":"Browse free UI for Unreal Engine on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true},{"id":450,"sourceId":450,"taxonomyId":450,"taxonomy":"category","slug":"vfx","name":"VFX","parentId":511,"count":412,"hasChildren":true,"href":"/category/vfx/","seoTitle":"Free Unreal Engine VFX | 3DCGHUB","seoDescription":"Browse free VFX for Unreal Engine on 3DCGHUB: curated downloads with preview images, compatibility notes and secure download access.","sitemapEnabled":true}]}]},{"id":4222,"sourceId":4222,"taxonomyId":4222,"taxonomy":"category","slug":"tutorial-library","name":"Tutorial Library","parentId":null,"count":117,"hasChildren":false,"href":"/tutorials/","seoTitle":"Free Game Development Tutorial Library | 3DCGHUB","seoDescription":"Browse free game development tutorials for Unreal Engine, Unity, Blender, and more on 3DCGHUB with practical workflows and secure downloads.","sitemapEnabled":true}]
Resource screenshots
1 / 3
Free Pro Draw
Weekly Free Pro Giveaway
Follow 3DCGHUB on Telegram for weekly free Pro account giveaways and the latest asset drops.
All resources are 100% manually reviewed to eliminate all risks.
Reviewed archive
GUI
AMS UI Soft Mask
AMS UI Soft Mask provides a specialized solution for Unity developers looking to move beyond binary masking into smooth, gradient-based UI transitions and layered effects.
The standard Unity user interface system often relies on binary masking, where an element is either entirely visible or entirely hidden. AMS UI Soft Mask shifts this paradigm by introducing gradient-based masks that allow for smooth, subtle transitions. By utilizing soft masks, developers and artists can apply elegant finishes to UI elements, ensuring that edges blend seamlessly into the background or other interface components. This capability is particularly useful for creating sophisticated HUDs, menus, and overlays where a harsh cut-off would disrupt the aesthetic flow of the project.
The tool provides precise control over how elements are revealed or concealed. Whether the objective is to fade out an individual button or to apply a global mask to an entire UI group, the system handles the transition with professional-grade softness. This flexibility enables the creation of captivating transitions that can engage users more effectively than static, hard-edged interfaces.
Complex Masking Through Stacking and Inversion
One of the more advanced functional aspects of this resource is the support for mask stacking. This feature allows multiple masks to influence a single element or group of elements simultaneously. By layering these masks, developers can create complex visual compositions where different masking shapes and gradients intersect to produce unique visibility patterns. This is essential for intricate UI layouts where nested elements might require different levels of transparency or specific shapes to be cut out of their parent containers.
To further enhance visual flexibility, the package includes both Normal and Inverted mask modes. The Normal mode operates as expected, showing content within the mask's bounds, while the Inverted mode allows developers to hide specific areas while keeping the rest of the UI visible. This is a powerful tool for creating 'hole' effects or spotlighting specific UI sections during tutorials or gameplay events. Combined with fall-off and opacity controls, these modes give creators full authority over the tiny visual details that define a high-quality user experience.
Interaction Management and Raycast Thresholds
Functionality in UI design is not limited to visuals; it also involves how the user interacts with the elements on screen. In the latest updates to the system, the developer has introduced a Raycast Target option. This feature allows for blocking raycasts—the invisible lines that detect mouse clicks or touch inputs—below a specified alpha threshold. This ensures that if a UI element is masked to the point of being nearly invisible, it will no longer intercept user interactions, preventing confusing 'dead zones' where a user might click on something they cannot see.
Also, the tool includes specific improvements for TextMesh Pro (TMP) and Sliced UV handling. The 9-slice algorithm has been refined to ensure that even when UI elements are stretched or scaled, the masking remains consistent and visually accurate. These technical refinements ensure that the soft masking logic does not break the standard behavior of Unity's fundamental UI components.
Integration with Custom Shaders and Render Pipelines
The system is built to be pipeline-agnostic, offering compatibility across the Built-in Render Pipeline (BRP), Universal Render Pipeline (URP), High Definition Render Pipeline (HDRP), and even Custom Scriptable Render Pipelines. This broad support makes it a versatile choice for projects ranging from mobile games to high-fidelity desktop experiences. The asset is designed to work across all build platforms, ensuring that the visual quality of the UI remains consistent regardless of the target hardware.
For technical artists who require even more control, the package supports custom shaders. Whether a shader is created using Shader Graph, Amplify Shader Editor, or is hand-coded, it can be integrated with the soft masking system. This allows for the extension of visual capabilities beyond standard masking, enabling unique effects like shimmering, animated textures, or custom distortions that still respect the boundaries and gradients defined by the soft mask.
Workflow Optimization and Setup
Setting up the masking system is designed to be straightforward, with automatic management of mask propagation across the UI hierarchy. This automation is crucial for maintaining performance, as it ensures optimal batching. By managing how masks are applied down the hierarchy, the tool minimizes the draw call overhead that can sometimes plague complex UI systems. The package includes detailed documentation in both PDF and online formats, providing step-by-step instructions and walkthroughs for integrating the masking logic into custom shaders, making it accessible for developers regardless of their previous experience with shader programming.
AMS UI Soft Mask serves as a comprehensive toolset for developers who need more than basic masking functionality. By combining gradient control, mask stacking, and deep integration with Unity's rendering pipelines, it provides a robust framework for building modern, high-quality user interfaces.