W3cubDocs

/Godot 3.2

VisualShaderNodeVectorScalarStep

Inherits: VisualShaderNode < Resource < Reference < Object

Calculates a vector Step function within the visual shader graph.

Description

Translates to step(edge, x) in the shader language.

Returns 0.0 if x is smaller than edge and 1.0 otherwise.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_visualshadernodevectorscalarstep.html