diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2022-02-07 08:46:51 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2022-02-07 11:28:42 +0300 |
commit | a6e280c5de51fd8c3b5d1ab1161fd5ee58f1e6be (patch) | |
tree | ac0d22bccd563b83a286921bcb6a5892d28738d2 /modules/gdscript/editor_templates | |
parent | 481b05fef1918aed9cee47680cb55b997acc5daa (diff) |
Add some more fixes to visual shader
Diffstat (limited to 'modules/gdscript/editor_templates')
-rw-r--r-- | modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd b/modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd index 27383b878d..d71f2592fe 100644 --- a/modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd +++ b/modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd @@ -34,8 +34,5 @@ func _get_output_port_name(port: int) -> String: func _get_output_port_type(port: int) -> int: return PORT_TYPE_SCALAR -func _get_global_code(mode: Shader.Mode) -> String: - return "" - func _get_code(input_vars: Array[String], output_vars: Array[String], mode: Shader.Mode, type: VisualShader.Type) -> String: return output_vars[0] + " = 0.0;" |