Skip to content

Commit

Permalink
Fix VisualShaderNodeCustom script template
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaosus committed Mar 9, 2022
1 parent f73ef03 commit 4fee0e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;"

0 comments on commit 4fee0e3

Please sign in to comment.