Legacy Documentation: Version 5.2
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
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961