A fullscreen post processing effect that adds subtle outline effect to the scene, using fast edge detection algorithm. Fully works with URP Render Graph in Unity 6.
What is it?
Contour is a post processing effect that draws subtle edge/outline around objects in the scene. The edge detection algorithm selectively reads from scene color, depth and normal vectors.
Simple setup
Add a renderer feature to your URP renderer data asset.
Add an override to your volume component.
Tuning things to match your style.
Customizable
Select the input sources for edge detection: scene color and/or depth and/or normal.
Select the target for edge detection: Opaque, Opaque-Transparent, Opaque-Transparent-PostProcessing
Blend edges with scene color or draw edges only.
Fast mode for Mobile & low end devices.
Noise/artifacts reduction.
Edge highlight & enhancement options.
Fade by distance.
Custom edge coloring, HDR edge color supported.
Changing edge & scene color blend mode.
Multi-platforms
Tested on PC, Mobile and WebGL, at stable and high framerate.
Resources
Community
Website | Facebook | Twitter (X) | YouTube | Discord
Note
Some art assets in the videos/screenshots are NOT included in this package.
This asset only work with Unity 6 and up, Universal Render Pipeline, fully compatible with the new Render Graph API for optimal performance.
The fullscreen shader was created in Shader Graph for ease of customization, with some functions provided as HLSL code in Custom Function nodes.
Works great with FXAA, SMAA, TAA.
Number of shader: 1
Number of Scriptable Render Pass each frame: 1
CONTOUR - Edge detection & outline post effect for Unity 6 URP
Version
1.1