W3cubDocs

/Godot 3.2

VisualShaderNodeVectorSmoothStep

Inherits: VisualShaderNode < Resource < Reference < Object

Calculates a vector SmoothStep function within the visual shader graph.

Description

Translates to smoothstep(edge0, edge1, x) in the shader language, where x is a vector.

Returns 0.0 if x is smaller than edge0 and 1.0 if x is larger than edge1. Otherwise the return value is interpolated between 0.0 and 1.0 using Hermite polynomials.

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