I know with glColor4f I can make things darker, or semi-transparent, but if I want to make them lighter? Or change the saturation?
So basicly there's no function that allows this? I have to call more than one function to create this effect? I forgot to mention, it's for a 2D game (if that changes anything)
What about something like glColor(2, 2, 2) where it usually accepts 1 as the max, where 1 is the original source color, but up to 2, where 2 is 255 of that color?
if I have a green tree and paint it after glColor(0, 0, 0), I will only see a black shadow of that tree. Now I want something like glColor(2, 2, 2) which would make the same but white (or glColor(1.5f, 1.5f, 1.5f) that would make it whiter than original but not completely white)
With glColor this is not possible, as far as I know, because of the [0, 1]-clamping.
So you want to make the destination color lighter (not darker)?