Originally posted by Bobo.Bobo:
Thanks! This is exactly what I wanted
Now I can change Gamma, Contrast, Brightness, and do whatever I want to do with all colors!
I hope all new drivers and graphics cards supports this function.
No offense, but IMO you shouldn’t do “whatever you want” if that includes contrast and brightness.
There are two things that really should stay fixed, and that’s black level and gain (aka white level). Users can set that stuff on their monitor controls, and once done properly, there really isn’t a good reason to change that.
I find it somewhat annoying when I see contrast and brightness controls in commercial app (such as UT2k3, UT2k4, Painkiller, etc), because they just don’t work. Monitor controls for this are analog, which is exactly the reason why these do work.
All that application controls here ever achieve are inability to display proper black and/or white, or reduced dynamic range due to saturation of the “gamma ramp” on either end. This can happen because it’s a digitalish thing.
Moreover, black level is fundamentally system global. White level is equally global, and depends on user preference, i.e. how bright/how old the monitor is, and how much luminance they can tolerate.
Please think carefully about that.
A real gamma ramp in the true meaning of the word is, of course, a clean thing to use, because it won’t affect the system global black and white levels.
Ultimately all artists and developers should work with completely linear display response, so that, say, a texel will only be 0.5 if they intend it to be 50% grey. This can be achieved with gamma alone. End users could then also set their gamma to whatever gives them linear response.
This automatically linearizes blending and texture filtering without any further tricks.