Step
The Posteriser. Creates hard transitions by comparing an input map to a threshold. Unlike the Threshold node, the Step node outputs a Float (0.0 or 1.0) rather than a Bool Mask.
Ports
| Port | Type | Direction | Description |
|---|---|---|---|
| Input | Float | Input | The source float map. |
| Output | Float | Output | Either 0.0 or 1.0. |
Logic
The Step node returns 1.0 for any cell where the input is greater than or equal to the threshold, and 0.0 otherwise.
Formula: (Input >= Threshold) ? 1.0 : 0.0
Parameters
- Threshold: The cutoff value for the step transition.
Potential Use Cases
- Hard Edges: Convert a smooth gradient into a sharp "cliff" edge for terrain.
- Mask Preparation: Generate a float-based mask for use in Layer Blend nodes where a boolean mask cannot be connected directly.
Float