Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

VisualShaderNodeSmoothStep

Inherits: VisualShaderNode < Resource < RefCounted < Object

Calculates a SmoothStep function within the visual shader graph.

Description

Translates to smoothstep(edge0, edge1, x) in the shader language.

Returns 0.0 if x is smaller than edge0 and 1.0 if