A fullscreen post processing effect that adds subtle outline effect to the scene, using fast edge detection algorithm, fully compatible with URP Render Graph in Unity 6.
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. * Tune 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 & world height. * Custom edge coloring, HDR edge color supported. * Changing edge & scene color blend mode. * Basic thickness adjustment.
Multi-platforms: Tested on PC, Mobile and WebGL, at stable and high framerate.
Note: Some art assets in the videos/screenshots are NOT included in this package.
Technical Details:
This asset only works with Unity 6 and up, Universal Render Pipeline, fully compatible with the new Render Graph API for optimal performance. Also works with non Render Graph projects. 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