Godot Version
4.6
Question
Hello all
i have been playing around with Modulate and i have noticed that aside the RGBA parameters, there is also the “I” (brightness i can guess?)
is there a way to set it or change it from within a script?
4.6
Hello all
i have been playing around with Modulate and i have noticed that aside the RGBA parameters, there is also the “I” (brightness i can guess?)
is there a way to set it or change it from within a script?
Assuming you’re talking about the OKHSL brightness that’s accessible through ok_hsl_l
No, I guess they talk about this “I” (as in “Ivory”) here
I don’t think you can directly adjust it through code, but what this does is simply multiplying the RGBA values.
Yes i am talking about the “I” as you say here
So, what you mean that i an just set R,G,B to 500,500,500 and have the same effect as I almost 2?
That’s intensity, see here, you can achieve this using the methods in Color, remember to only multiply the RGB components, not alpha