Introduction
beginner start hereEdge Fusion (HDRP) · Start Here
Edge Fusion (HDRP) is a post-processing effect for Unity's High Definition Render Pipeline that seamlessly blends object edges, removing harsh transitions and creating smooth, natural boundaries between surfaces. It works as an HDRP Custom Pass registered in your scene's Custom Pass Volume.
Key Features
- Automatic Edge Blending — detects and softens contact edges between any meshes in the scene.
- Layer-Based Control — use Blend Layers and Rendering Layer Filters to select exactly which objects participate.
- Per-Object Overrides — attach the
EdgeFusionObjectcomponent to fine-tune or disable blending on individual GameObjects. - Intra-Object Fusion — optionally blend edges within a single object (normal-based edge detection with concavity test).
- Double-Sided & Special Shader Support — dedicated groups for double-sided meshes and objects using vertex displacement (animated vegetation, etc.).
- Performance Tuning — configurable sample count, binary search steps, early exit, and max blend distance.
- Debug Views — built-in debug and compare modes for quick visual inspection.
Requirements
| Requirement | Minimum |
|---|---|
| Unity Version | 2022.3 LTS or later |
| Render Pipeline | High Definition RP (HDRP) |
| Platform | All platforms supported by HDRP |
How It Works
Edge Fusion renders an object-ID buffer using selected Blend Layers, then detects contact edges between distinct objects via depth-aware sampling. A world-space radius controls blur extent, and 3D noise adds organic variation. The effect runs as a Custom Pass injected at the configured injection point (typically After Opaque And Sky or Before Transparent).
Suggest an improvement
Help us improve this documentation page.