Improved tonemapping

We use the hardware mipmapping to downsample a luminance texture of the scene down to a 1x1 which approximate the average logarithmic luminance of the scene.
The tonemapping is also now done on the luminance part of the texel and not on the whole rgb colors (Yxy color space)