Hi,
I need help converting the color balance system from XnView Classic to a shader usable in Godot 4.
Here are some screenshots of the system I'm talking about, it's called "Color balance" and each color (red, green and blue) are from -255 to 255.
Here is the beginning of the shader, it is in Godot 4 using Compatibility mode.
shader_type spatial;
render_mode unshaded;
uniform sampler2D texture_albedo;
void fragment() {
vec4 texture_color = texture(texture_albedo, UV);
}
This shader will be attached to a Sprite3D and I would like to change the colors of that sprite the same way I can do it in XnView color balance.
Can you help me please ?
Ps: Already checked godotshaders, tested all sort of shader but none would do what I need.