Gamma?

BlitzMax Forums/BlitzMax Beginners Area/Gamma?

While this code does brighte up a screen, it is not true Gamma -- your example applies a linear correction to an image, rather than adjusting the shape of the curve for the color distribution like true gamma would.

In this example, all of the lightest colors would be substituted by pure white, while a gamma corrected image would still be using seperate colors, they would just be closer together.

That said: This sure is better than nothing at all, although I wonder if there is some kind of global openGL modifier that can apply a real gamma, without needed to 'waste' the additional resources by drawing a seperate full screen image...

Thanks for the suggestion though.