Proper tone map color space + using max luminance

Note: When moving the screen flickers. This is due to maximum and
average luminance being used without gradual adaption. This will
probably be fixed by my next commit.