Edge Detect Normals image effect
Manual     Reference     Scripting   
Reference Manual > Components > Image Effect Scripts > Edge Detect Normals image effect

Edge Detect Normals image effect

The Edge Detect Normals image effect creates outlines around edges. Note that this version of the image effect actually works on geometry i.e. scene depth and normals to detect edges.

As with the other image effects, this effect is only available in Unity Pro. Make sure to have the Pro Standard Assets installed.


Scene without edge detection

Detected edges of the same scene

Properties

ModeChose between Thin and Thick. Thick will take more samples into consideration to construct outlines.
Sensitivity (Depth)The depth sensitivity that defines the needed depth difference when identifying edges.
Sensitivity (Normals)|The normals sensitivity that defines the needed difference between neighbouring normals when identifying edges.
Draw edges onlyBlend the background with a fixed color.
Background colorThe color used when Draw edges only is > 0.

Hardware support

Edge detect effect works only on graphics cards with support for pixel shaders (2.0) or devices with OpenGL ES2.0 support. Eg. 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. Depth texture support is required.

Page last updated: 2011-01-12