   Asking for tonemapping advice
  Hello,I've been trying to add some hdrr to my project following this tutorial more or less (It should be more in case I haven't screwed up).Ignoring bloom for now and just going for tonemapping I was a bit irritated that my scene was generally a lot darker. More so than seemed reasonable to me. So I set the exposure to 1.75f which helped but now there would sometimes be ridiculously high contrast so I increased the variable that gets called GaussianScalar in the sample. The results seem good on a purely subjective level. Is it normal that the scene gets noticeably darker or is it likely that I have a bug in my shaders?Here is how I do the final pass:float3 color = g_source.Load(int3(input.pos.xy, 0)).rgb;   //luminance.x is average and luminance.y is maxfloat2  luminance = g_luminance.Load(int3(0, 0, 0));float exposure = 1.75f;float Lp = (exposure / luminance.r) * (dot(color, s_luminanceVector) + 0.0001f);//needs to be relatively high with that exposure or results will be really overexposed and transitions from bright to dark areas way to dramaticfloat lgs = (11.f * exposure * luminance.g);lgs *= lgs;float toneScalar = (Lp * (1.0f + Lp / lgs)) / (1.0f + Lp);return float4(color * toneScalar, 1.f);Am I doing some mistake here?   
  If you look at the paper from which your code is derived from, you'll notice that the "exposure" value used in equation 2 is supposed to be of the range [0, 1].  I'd imagine setting it really high will produce some funky results, which is why you had to tweak other variables.  I typically use a value around 0.6.Also I usually don't calculate the value you refer to as lgs (Lwhite in the paper)...since it's the smallest value that gets mapped to pure white, I usually set it to some reasonable "max brightness" values so that stuff brighter than that value will burn out for some nice bloom.  You might want to try playing around with that value, and see what results you get.   ;  Hm. I can't exactly say that my results look funky. :) Actually I thought them quite reasonable. I suspect my problem is, that I have a few small bright spots in the image and the rest gets darkened down quite a bit to make the bright parts stand out. I'm getting more contrast than I'm looking for.Can you give me a suitable value for Lwhite for reference? I'll have to experiment whether using the max luminance makes a big difference for me. All that is assuming that I calculate the average luminance correctly, which seems a bit hard to check. The value certainly gets darker/lighter depending on the area I'm viewing.Which brings me to another question altogether. When I scale down an image by 4x4 I should take as many samples per output pixel, right? Is it also ok to only take 2x2 samples and enable bilinear filtering?   