mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-19 20:05:57 +08:00
968 B
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 |