← All resources

Edge detection outlines (Alexander Ameye)

Auto-discovered

Blog Advanced

Alexander Ameye

Visit resource ↗

Description

Alexander Ameye's December 2024 note shows screen-space edge detection outlines for Unity 6 and Unity 2022.3+ on URP, citing stylized games such as Mars First Logistics and Rollerdrome.

A ScriptableRendererFeature adds a full-screen pass (Execute on 2022, Render Graph on Unity 6) and a Hidden/Edge Detection HLSL shader. Roberts-cross sampling on depth, remapped normals, and luminance is thresholded and merged before outline color and thickness apply.

Advanced Unity programmers and technical artists comfortable with URP renderer features and hand-written HLSL fit best; Shader Graph is not the focus.

One free page offers copy-paste C# for both Unity versions, the shader, renderer-data setup, and next steps such as tunable sensitivities and distance fade.

Useful for comic-style outlines; Ameye links his Linework toolkit and the note appears in curated lists including the Cyanilux gist.