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 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

Edge Detect works on graphics cards with support for pixel shaders (2.0) or devices with OpenGL ES2.0 support. E.g. GeForce FX 5200 or Radeon 9500 and up. All image effects automatically disable themselves when they can not run on an end-users graphics card.

Page last updated: 2010-09-08