View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 6000.0.35 or later
- Package size
- 605 KB
- Files
- 16
- Favorites
- 24
- Views in the past week
- 18
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
UV Mask Painter
Paint UV masks directly in Unity’s Scene view—brush, erase, smooth, fill, channels, PNG export.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
UV Mask Painter screenshot 1
About this asset
UV Mask Painter
Paint crisp UV masks in the Scene view. Includes an Editor Tool with Paint/Erase/Smooth/Fill, per-channel R/G/B/A, and one-click PNG export. Create Mask Assets in seconds (R/RG/RGBA, linear/sRGB toggle, default values) and paint on any mesh with a MeshCollider. Editor-only; perfect for material blending, decals, wetness/snow/damage, and more.Key features
In-scene painting: Start/Stop from the Mask Painter window.
Brush: Radius/Strength/Hardness; Ctrl+Wheel radius, Shift+Wheel strength; Q/E size; 1–4 = tools.
Channels: Target R/G/B/A; Clear/Invert per channel.
Mask assets: Set size/channels/linear-sRGB/defaults; auto formats R8 / RG16 / RGBA32.
Live preview: Occlusion-aware rings; shows radius/strength/hardness.
Performance: CPU dirty-region uploads (~30 Hz).
Export: From the window or MaskAsset inspector to PNG.Typical uses
Material blending (snow/wetness/dirt), decals/wear, detail/reveal/height/edge effects—assign the resulting Texture2D to any shader in Built-in/URP/HDRP.Workflow (3 steps)
Add MeshCollider + MaskPaintable to the target mesh.
Create Mask Asset, pick size/channels/defaults, assign on MaskPaintable.
Open Mask Painter Window, choose Tool/Channel/Brush, Start Painting; export PNG anytime.What’s included
Windows: Mask Painter Window, Create Mask Asset (with preview & PNG export).
MaskPainterTool (EditorTool with live preview & shortcuts).
Components/inspectors: MaskPaintable, MaskAsset (preview/extract).Requirements & limits
MeshCollider required (uses RaycastHit.textureCoord). Editor-only.
Valid UVs.
No per-stroke Undo yet (Undo for actions like Clear/Invert).Menus & shortcuts
Tools → Mask Painter → Mask Painter Window / Create Mask Asset.
Ctrl+Wheel radius, Shift+Wheel strength, Q/E size, 1–4 tools.Kaynaklar
From the publisher's Asset Store listing.
Technical details
Editor-only workflow
MaskAsset (ScriptableObject): stores resolution, channel layout (R, RG, RGBA), linear/sRGB flag, default channel values, and the generated Texture2D sub-asset. Includes helper to keep the texture persisted.
Texture formats & import
Formats auto-select by channel count: R → R8, RG → RG16, RGBA → RGBA32.
Painting tool (Scene view)
Tools: Paint, Erase, Smooth, Fill; select via the window or 1–4 keys. Q/E adjusts size; Ctrl+Wheel radius; Shift+Wheel strength.
World-space brush with UV-aware footprint. The tool computes a local surface frame (dP/du, dP/dv) per hit triangle to map world radius to tight UV bounds
CPU painting writes to a cached Color32 buffer; dirty rectangles are uploaded to the texture at ~30 Hz.
Pipeline compatibility
Editor-side authoring that outputs a standard Texture2D; assign the mask to any shader/material graph in Built-in/URP/HDRP as needed. (No render-pipeline code in the tool; usage is material-side.)
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.0.35f1 | Compatible | Compatible | Compatible | Compatible |
Works with all pipelines.
As listed on the Asset Store.