1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-01-07 01:43:35 +08:00

Artistic nodes finalized

This commit is contained in:
Digvijaysinh Gohil 2024-03-14 19:30:27 +05:30
parent 9d7cf5e9e9
commit c51785f3b5
6 changed files with 8 additions and 8 deletions

View File

@ -35,7 +35,7 @@ func _get_input_port_default_value(port: int) -> Variant:
1:
return 1.0
_:
return null
return Vector3(1.0, 1.0, 1.0)
func _get_output_port_count() -> int:
return 1

View File

@ -35,7 +35,7 @@ func _get_input_port_default_value(port: int) -> Variant:
1:
return 0.0
_:
return null
return Vector3(1.0, 1.0, 1.0)
func _get_output_port_count() -> int:
return 1

View File

@ -43,7 +43,7 @@ func _get_input_port_default_value(port: int) -> Variant:
3, 4:
return 0.0
_:
return null
return Vector3(1.0, 1.0, 1.0)
func _get_output_port_count() -> int:
return 1

View File

@ -34,7 +34,7 @@ func _get_input_port_type(port: int) -> PortType:
func _get_input_port_default_value(port: int) -> Variant:
match port:
0:
return null
return Vector3(1.0, 1.0, 1.0)
_:
return 1.0

View File

@ -37,7 +37,7 @@ func _get_input_port_default_value(port: int) -> Variant:
1, 2:
return 0.0
_:
return null
return Vector3(1.0, 1.0, 1.0)
func _get_output_port_count() -> int:
return 1

View File

@ -36,12 +36,12 @@ func _get_input_port_type(port: int) -> PortType:
func _get_input_port_default_value(port: int) -> Variant:
match port:
0:
return Vector3(1.0, 1.0, 1.0)
1:
return Vector3(0.0, 0.0, 0.0)
2, 3:
return 0.0
_:
return null
return 0.0
func _get_output_port_count() -> int:
return 1