Edge Detection image effect
Manual     Reference     Scripting   
Reference Manual > Components > Image Effect Scripts > Edge Detection image effect

Edge Detection image effect

Edge Detect image effect adds black edges to the image where color differences exceed some threshold.

If proper geometry based edge detection is needed, the Standard Assets also provide a more complex normal-based edge detection.

Like all image effects, Edge Detection is available in Unity Pro only. Make sure to have the Pro Standard Assets installed.

Edge Detect image effect applied to the scene
ThresholdEdges will be displayed whenever color difference in neighboring pixels exceeds this amount. Increase this value to make edges less sensitive to texture or lighting changes.

Hardware support

This effect requires a graphics card with pixel shaders (2.0) or OpenGL ES 2.0. PC: NVIDIA cards since 2003 (GeForce FX), AMD cards since 2004 (Radeon 9500), Intel cards since 2005 (GMA 900); Mobile: OpenGL ES 2.0; Consoles: Xbox 360, PS3.

All image effects automatically disable themselves when they can not run on end-users graphics card.

Page last updated: 2011-05-30