mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 04:33:29 +00:00
Fix VisualShaderNodeCustom
script template
This commit is contained in:
parent
f73ef03a86
commit
4fee0e3b7d
@ -34,5 +34,5 @@ func _get_output_port_name(port: int) -> String:
|
||||
func _get_output_port_type(port: int) -> int:
|
||||
return PORT_TYPE_SCALAR
|
||||
|
||||
func _get_code(input_vars: Array[String], output_vars: Array[String], mode: Shader.Mode, type: VisualShader.Type) -> String:
|
||||
func _get_code(input_vars: Array[String], output_vars: Array[String], mode: int, type: int) -> String:
|
||||
return output_vars[0] + " = 0.0;"
|
||||
|
Loading…
Reference in New Issue
Block a user