🚀 Decal Collider removes the complexity from decal physics and surface projection.
Create alpha-trimmed visual meshes and perfectly matching MeshColliders from any decal source in just seconds.
No oversized hitboxes, no invisible collision areas — only what you see is what you collide with.
Designed for artists and programmers alike, Decal Collider works seamlessly in all Unity render pipelines and supports both editor-time and runtime workflows.
✨ Key Features
- One-Click Generation – Select your decal source → press Rebuild → visual mesh and collider are generated instantly.
- Pixel-Perfect Collision – MeshColliders are trimmed directly from the decal’s alpha mask, ensuring accurate physics interaction.
- 18 Projection Modes – Forward, reverse, double-sided, box volume, hemisphere and custom normal projection support.
- Live Scene Handles – Move, rotate, adjust depth and mesh offset directly inside the Scene view.
- Runtime & Editor API – Full C# API with XML documentation for procedural decals, pooling systems and analytics.
- Built-in Statistics Panel – View triangle count, raycast count, build duration and memory usage in real time.
- Undo-Safe & Prefab-Friendly – Fully compatible with Prefabs, Undo/Redo and works in both Edit and Play Mode.
- Performance Focused – Zero runtime GC allocations, dynamic LOD support and frustum culling for mobile and VR.
- Pipeline Agnostic – Automatically detects and supports Built-in, URP and HDRP without manual setup.
📂 What’s Included
- Core DecalCollider component (runtime + editor)
- Custom Inspector, gizmos and visual debugging tools
- Demo scenes showcasing real-world decal use cases
- Documentation and quick-start guides
- CC0 sample textures for testing and learning
🔌 How to Use
- Import the package into your project.
- Add DecalCollider to any GameObject (mesh, sprite or TMP source).
- Adjust projection settings and size in the Inspector or Scene view.
- Click Rebuild — your decal mesh and collider are ready.
- (Optional) Control everything at runtime using the provided API.
🔖 Requirements
- Unity 2022.3 LTS or newer (Unity 6 compatible)
- Render Pipelines: Built-in, URP, HDRP
- No external dependencies or plugins required
- Need help or have a feature request? Join our Discord
- Thank you for checking out Decal Collider – happy projecting! 🎉