View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.4.0
- Last updated
- First released
- Unity version
- 2020.3.30 or later
- Package size
- 1.5 MB
- Files
- 18
- Favorites
- 32
- Views in the past week
- 20
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $6.99 on
Keywords
- Search for Clipping mask
- Search for Hole in UI
- Search for Inverse GUI mask
- Search for kamgam
- Search for Tutorial mask
- Search for Hard mask
- Search for Inverted mask
- Search for Loading screen mask
- Search for Death animation mask
- Search for Sprite shape mask
- Search for No soft mask
- Search for resolution independent
Inverse UI Mask
Punch holes into your UI with a mask that hides everying OUTSIDE of the mask image.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 4
Inverse UI Mask screenshot 1
About this asset
🐭 This asset is part of the UI Bundle🐭
InverseMask hides anything inside the masked ui area and shows everything outside.
✔ Code & Code-Less options
You don't like foreign code in your project? No problem! Check out the NoCodeDemo in the examples.
✔ Non-destructive
Unlike other masking solutions this one leaves your materials alone. Not extra shaders, no changes to your assets!
✔ URP / HDRP / BuiltIn Support
Works with all render pipelines.
✔ Sprite Mesh shapes
Use any of your images or one of the predefined resolution-independent sprite meshes.
✔ Content and masks can be moved independently
No parent/child depenency in the hierarchy.
✔ Punch as many holes as you like
Automatically merges mask objects into one mask.
✔ Full Source Code
Comments in the code explain everything. Uses assembly definitions to improve compile times.
🤖 A word on AI
This asset is AI-FREE (no disclosure on Steam needed).
I publish this template with full source code because as a developer I know how annoying it is to not have source code access. If you like it then please remind others to purchase the plugin. Don't just copy and paste it everywhere. Thank you ❤️
✔ Demos included
Under Assets/Kamgam/InvertedMask/Examples you will find some scenes with examples. You can copy the mask from there.
✔ Supports Unity 2020*, 2021, 2022, 2023, Unity 6, Unity 6.3, ... LTS
Please try upgrading to the newest LTS of your Unity release. Unity BETA release are not officially supported (i.e. I am not testing those regularly).
*Unity 2020 is in legacy mode now (no more updates but you can still download it).
⚠️ ️N O T I C E
The InverseMask uses the same stencil buffer approach as Unitys own UI Mask. Therefore it also does not support soft masks.
Inverse UI masks do not support stacking with Unitys own native UI masks. They are not in conflict, yet if you decide to put an inverse UI mask into a Unity mask it will not be masked by the Unity mask.
⚙️ Installation
Download the Asset and import it into your project.
You are done, no additional setup is needed.
✍️ Usage
Step 1: Create a new empty GameObject.
Step 2: Add the "InvertedMask" Component.
Step 3: Click the "Add Hole" and "Add Content" button.
Step 4: You are done.
☎️ Support
If you have any questions please write an email. Please be patient, replies may take a few days. Please try upgrading to the most recent Unity LTS release and the most recent version of the asset before contacting support. Please include your Asset Store Order Nr in your request.
Hey, if you like this asset then maybe you'll like these too:
One Settings UI + API for all render pipelines.
Skip the hierarchy search. What you click is what you select.
Edit, Rotate, Scale, Snap & Pivot Editor
Blurred backgrounds for UI.
From the publisher's Asset Store listing.
Technical details
Inverse UI masking without touching your materials or shaders.
Full source code included.
Use multiple masks at once (you can stack them).