1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-09-20 04:15:58 +08:00
Files
Godot-Shader-Lib/documentation/Nodes/Artistic/Adjustment/HueNode.md
2024-07-21 16:39:45 +05:30

968 B

Hue node

Offsets the hue of input in by the amount of input offset. The unit of the offset can be set with the parameter Range. Offset in Degrees is in the range -180 to 180. In Normalize it is -1 to 1.


Controls

Name Options Description
Range Degrees, Normalize The unit used for the input offset

Inputs

Name Type Binding Description
in vec3 none Input value
offset float none Amount to offset hue

Outputs

Name Type Binding Description
out vec3 None Output value

ShaderInc location
res://addons/ShaderLib/Artistic/Artistic.gdshaderinc

Method signature
vec3 hue(input, offset, range_index)

Parameters

Name Type Description
input vec3 Input color
offset vec3 Amount of offset hue
range_index int range index, 0 = use degrees as units, 1 = use radians as units