Website Header Slim

Derive Node Reference

Step Node

Description

The Step node takes two inputs and outputs either 0 or 1, depending on which of the inputs is greater. The rule of operation is as follows:

 

if (A>B) Output = 0;

if (A<=B) Output = 1;

Sample Tree

Properties

Property Name Property Type Description
A
Float
Uniform float to be used as the first input of the step operation (only available if the Base-input is not connected).
B
Float
Uniform float to be used as the second input of the step operation (only available if the Base-input is not connected).

Inputs

Input Name Allowed Data Types Description
A
Float, RGBA
Input that takes the texture containing the first values for the step operation.
B
Float, RGBA
Input that takes the texture containing the second values for the step operation.

Outputs

Output Name Data Type Description
Result
Float

Outputs either 0 or 1, depending on whether A is greater than B or not, following the rule of operation:

 

if (A>B) Result= 0;

if (A<=B) Result= 1;

 

This operation is performed for each pixl, the output data type is always Float, meaning all color channels hold the same value.

Login