dariomanesku/cmftStudio

Gamma / brightness issues

vorg opened this issue · 3 comments

vorg commented

Why are .hdr images so dark by default on OSX?

Tonemapped skybox looks ok-ish but the reflection map and irradiance are too dark. I the example scene I can barely see any IBL diffuse. Here is example with custom texture. Also bloom has very overexposed look (kind of first gen HDR before IBL/PBR), something is not right here.

screen shot 2015-06-27 at 14 15 47

screen shot 2015-06-27 at 14 15 38

vorg commented

Ok, disabling bloom, light adapt and changing gamma to 0.5 helps. Curious why these are defaults..

These should be the steps:

  1. Load *.hdr environment.
  2. Tonemap it. This modifies the skybox in memory, it's not just a shader parameter.
  3. Execute radiance and irradiance filter after skybox is tonemapped.
    I just checked them, they should work ok. I added this: ae1d744 just so it's a little more apparent what is going on.

Tonemap operator is the most basic one and the results you can get with it are at best 'ok-ish', unfortunately. I didn't spend much time on it.
Regarding bloom, what would be your advice, how I get a better bloom?

vorg commented

Looks like the quality of loaded .hdr image has a big influence too. Followed the steps above with better env map and it all looks great!

screen shot 2015-06-28 at 14 04 42