Attention: Here be dragons
This is the
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Inherited By: VisualShaderNodeGlobalExpression
A custom visual shader graph expression written in Godot Shading Language.
Custom Godot Shading Language expression, with a custom number of input and output ports.
The provided code is directly injected into the graph's matching shader function (
light), so it cannot be used to declare functions, varyings, uniforms, or global constants. See VisualShaderNodeGlobalExpression for such global definitions.
String expression =
An expression in Godot Shading Language, which will be injected at the start of the graph's matching shader function (
light), and thus cannot be used to declare functions, varyings, uniforms, or global constants.