Quote:

wow, this is awesome! thanks, Lion_ts, I think I can tweak it to change hue and saturation as well, then be able to color shift the screen through the spectrum!



You understand correctly
My code is a color managment, overall brightness is a one small piece of it.
Try to play with different variant of gamma computation, in start is a linear function, as described in DX SDK, at finish You can have awesome effects, like 'zombie' or 'predator' vision