Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 06 Jan 2010
Offline Last Active Private

Posts I've Made

In Topic: HDR post-processing order

26 November 2015 - 10:33 AM

Perfect that helps me a lot. Many thanks!
Just to be clear if you using luminance for the threshold do you apply exposure to both first in bloom and a second time in tonemapping to hdr Color?


Edit: I try the lerp thing but i don't like it. Every thing will less sharp and got bloom (yes i've played with the value) so back to luminance threshold. smile.png

In Topic: HDR post-processing order

26 November 2015 - 07:26 AM

Well you right but i also do downscale in the bright pass so nothing to save. *cry*
Surely you can give me a answer to the main question where to insert luminance adaptation (exp 1 or 2) ?


To your advice i should do something like this?

Bloom (no threshold just simple downscale -> blur -> upscale)
Luminance Adaptation
exposure = keyvalue/adaptlum;
finalcolor = saturate( FilmicToneMapper( lerp(hdrcolor, hdrbloom, 0.1f) * exposure ));


Thanks X0 happy.png

In Topic: HDR post-processing order

25 November 2015 - 03:52 PM

Thanks for your replies.


What i have in mind is something like to take all values above the white point and scale them down.

But this is what i currently using:

LColor.rgb *= max(GetLuminance(LColor.rgb) - BloomThreshold, 0.0f) * BloomMultiplier;

HDR (Example 1)
LColor.rgb *= saturate(max((GetLuminance(LColor.rgb) * Exposure) - BloomThreshold, 0.0f) * 0.5f);

I also try MJP's lower exposure version but i found it hard to get a good value.


I think lerp should have the same problem as lower exposure every thing got bloom. I will give it a try.
But how can these save a pass?

In Topic: floating point value

07 August 2013 - 04:00 AM

Or just try:


3.15 mod 1 = 0.15

3.15 - 0.15 = 3

In Topic: retrieve use GPU/ video memory in use

29 May 2013 - 04:35 PM