mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-20 04:15:58 +08:00
884 B
884 B
White Balance node
Adjusts the temperature and tint of input in by the amount of inputs temperature and tint respectively. Temperature has the effect of shifting the values towards yellow or blue. Tint has the effect of shifting towards pink or green.
Inputs
Name | Type | Binding | Description |
---|---|---|---|
in | vec3 | none | Input value |
temperature | float | none | Temperature offset value |
tint | float | none | Tint offset value |
Outputs
Name | Type | Binding | Description |
---|---|---|---|
out | vec3 | None | Output value |
ShaderInc location
res://addons/ShaderLib/Artistic/Artistic.gdshaderinc
Method signature
vec3 white_balance(input, temperature, tint)
Parameters
Name | Type | Description |
---|---|---|
input | vec3 | Input color |
temperature | float | Temperature offset value |
tint | float | Tint offset value |