View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 2021.3.19 or later
- Package size
- 314 KB
- Files
- 12
- Favorites
- 5
- Views in the past week
- 11
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $7.50 on
Keywords
Advanced Outline Shader & Highlight System
Advanced Outline Shader & Highlight System: A Unity package featuring an efficient object outline shader and a C# raycasting script for dynamic, tag-based interactive highlighting.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 3
Advanced Outline Shader & Highlight System screenshot 1
About this asset
Advanced Outline Shader & Highlight System
Dive into the next level of player feedback with the Advanced Outline Shader & Highlight System! 🚀 This powerful, ready-to-use package provides everything you need to implement a professional and visually stunning interaction system in your Unity game.
What's Inside the Package?
📦 ObjectGlow.shader (Advanced Shader): A highly optimized surface shader based on Unity's Standard lighting model. It features:
- Full standard PBR properties (Albedo, Normal, Metallic, Smoothness).
- Customizable outline/border effect controlled by the _BorderWidth and _HighlightColor properties.
- Dynamic Highlight Toggle driven by a Material Property Block for performance.
- Optional Emission controls for added visual flair.
- The outline is rendered in a separate Cull Front pass, expanding the mesh along its normals to create a clear border effect.
⚙️ InteractionHighlighter.cs (C# Script): A streamlined script designed to be placed on your camera or player object. This script:
- Performs a raycast on every frame (Update) to detect interactable objects.
- Uses customizable targetTags and a detectionLayers mask to precisely filter objects.
- Dynamically enables/disables the highlight via ToggleHighlight by setting the _HighlightEnabled shader property using a MaterialPropertyBlock.
- Provides visual feedback with an optional UI status indicator.
Why Buy This Asset?
- ✅ Performance: Uses a Material Property Block to toggle the highlight without creating new material instances, ensuring minimal draw call overhead.
- 🛠️ Customization: Easily adjust border width, color, distance, and target tags directly in the Inspector.
- 🎮 Immersion: Give your players clear and immediate feedback when they can interact with an object, significantly improving the user experience.
From the publisher's Asset Store listing.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2021.3.19f1 | Compatible | Not listed | Not listed |
As listed on the Asset Store.