brightness and gamma correction?
BlitzMax Forums/BlitzMax Programming/brightness and gamma correction?| 
 | ||
| There is any function or code to make a brightness and gamma correction in real time? | 
| 
 | ||
| No. | 
| 
 | ||
| Drawing an alphablended white rectangle over the screen with a low level of alpha value will have the same effect as increasing brightness. Drawing a black rectangle similarly will darken the screen. Gamma is more tricky and is more like a stretching of the range of contrast levels, sorta. The darkest colors stay dark while the lighter colors get proportionately lighter. |