1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Add some more fixes to visual shader

This commit is contained in:
Yuri Roubinsky
2022-02-07 08:46:51 +03:00
parent 481b05fef1
commit a6e280c5de
11 changed files with 160 additions and 101 deletions

View File

@@ -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;"