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

Edge Detection image effect

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

If more accurate geometry-based edge detection is required, the Standard Assets also provide a more sophisticated normal-based edge detection effect.

As with the other image effects, this effect is only available in Unity Pro and you must have the Pro Standard Assets installed before it becomes available.


Edge Detect image effect applied to the scene
ThresholdEdges will be displayed wherever the color difference between neighboring pixels exceeds this value. Increasing the value will 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-09-20