Up to date

This page is up to date for Godot 4.0. If you still find outdated information, please open an issue.

VisualShaderNodeIf

Inherits: VisualShaderNode < Resource < RefCounted < Object

Compares two floating-point numbers in order to return a required vector within the visual shader graph.

Description

First two ports are scalar floating-point numbers to compare, third is tolerance comparison amount and last three ports represents a vectors returned if a == b, a > b and a < b respectively.