Legacy Documentation: Version 4.5
Previous
Depth of Field
Next
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, 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
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 requires a graphics card that supports Shader Model 2. See the Graphics Hardware Capabilities and Emulation page for further details and a list of compliant hardware.

Previous
Depth of Field
Next
Edge Detect Effect Normals