From 766d1ef276044cb1a277e2283c14b7e0fa6bbc43 Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Mon, 27 Jan 2020 18:14:10 +0300 Subject: Docs for some nodes in visual shader(part 2) --- doc/classes/VisualShaderNodeExpression.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/classes/VisualShaderNodeExpression.xml') diff --git a/doc/classes/VisualShaderNodeExpression.xml b/doc/classes/VisualShaderNodeExpression.xml index 9ed590eb2f..e1ba1f0b20 100644 --- a/doc/classes/VisualShaderNodeExpression.xml +++ b/doc/classes/VisualShaderNodeExpression.xml @@ -1,8 +1,11 @@ + A custom visual shader graph expression written in Godot Shading Language. + Custom Godot Shading Language expression, with a custom amount of input and output ports. + The provided code is directly injected into the graph's matching shader function ([code]vertex[/code], [code]fragment[/code], or [code]light[/code]), so it cannot be used to to declare functions, varyings, uniforms, or global constants. See [VisualShaderNodeGlobalExpression] for such global definitions. @@ -10,6 +13,7 @@ + An expression in Godot Shading Language, which will be injected at the start of the graph's matching shader function ([code]vertex[/code], [code]fragment[/code], or [code]light[/code]), and thus cannot be used to declare functions, varyings, uniforms, or global constants. -- cgit v1.2.3