Getting Started
Migrating to UNIGINE 2.0
C++ API Migration
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins

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