Legacy Documentation: Version 5.3
Depth of Field
Edge Detect Effect Normals

Edge Detection

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

If more sophisticated geometry-based edge detection is required, the Standard Assets also provide such a normals and depth-based edge detection effect.

As with the other image effects, you must have the Standard Assets Effects package installed before it becomes available.

Edge Detect image effect applied to the scene
Edge Detect image effect applied to the scene

Properties

Property: Function:
Threshold Edges 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 should run on all hardware that Unity supports.

Depth of Field
Edge Detect Effect Normals