This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Basics
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API Reference
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Matrix
Textures
Art Samples
Tutorials

Step Node


Description

Implements a step function:

Step function formula

  • Outputs 1 if a value or vector component of A is less or equal than the value or corresponding vector component of B
  • Outputs 0 if a value or vector component of A is greater than the value or corresponding vector component of B

Usage Examples

Dissolving effect

The following material graph demonstrates how to use the Step node to create a binary mask from a noise texture. The noise values are compared against a fill_percent threshold, outputting 0 or 1 to define transparent and opaque regions. This mask is used to control the material's Opacity, making areas above the threshold visible.

Notice
The Mesh Alpha Test PBR material type is used in this example.

The information on this page is valid for UNIGINE 2.20 SDK.

Last update: 2025-04-04
Build: ()