This page has been translated automatically.
Programming
Fundamentials
Setting Up Development Environment
UnigineScript
High-Level Systems
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Bounds-Related Classes
Containers
Controls-Related Classes
Core Library
Engine-Related Classes
GUI-Related Classes
Node-Related Classes
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related Classes
Utility Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

post_filter_sobel

The full-screen Sobel postprocess material performs edge detection. It creates black outlines around edges where color differences in neighboring pixels are detected. (See how to use postprocess materials).

post_filter_sobel postprocess material

Sobel filter postprocess

Parameters

GUI nameXML nameDescription
Thresholdthreshold Strength of detected edges.
  • The lower the value, the less edges are rendered. The filter will be less sensitive to noise and lighting changes. However, subtle edges may appear ruptured or may be not rendered at all.
  • The higher the value, the more and the thicker edges are rendered.
  • By the minimum value of 0, there are no edges at all.
Small Threshold Large Threshold
Threshold = 0.2
Threshold = 0.7
Scalescale Color saturation scale.
  • The higher the value, the more desaturated, whitened the colors are.
  • By the minimum value of 1, the whole screen will be white.
  • By the minimum value of 0, the viewport colors are not affected by the Sobel postprocess filter.
Scale equals 0 Scale equals 1
Scale = 0
Scale = 1
Last update: 2017-07-03
Build: ()