Outdated documentation
This documentation page refers to Godot
4.3,
and may be outdated or incorrect.
Additionally, this engine version is
no longer supported.
Check this page in the stable branch for the latest additions and corrections.
VisualShaderNodeColorConstant
Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object
A Color constant to be used within the visual shader graph.
Description
Has two output ports representing RGB and alpha channels of Color.
Translated to vec3 rgb and float alpha in the shader language.
Properties
|
Property Descriptions
Color constant = Color(1, 1, 1, 1) 🔗
A Color constant which represents a state of this node.