From a6e280c5de51fd8c3b5d1ab1161fd5ee58f1e6be Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Mon, 7 Feb 2022 08:46:51 +0300 Subject: Add some more fixes to visual shader --- modules/gdscript/editor_templates/VisualShaderNodeCustom/basic.gd | 3 --- 1 file changed, 3 deletions(-) (limited to 'modules/gdscript/editor_templates') 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;" -- cgit v1.2.3