Skip to main content
GameDev.net gamedev.net
🔒 Locked

HDR and Bloom

Started by johnl87 Mar 31, 2009 at 5:09 PM 0 replies 1.7k views
Original Post
johnl87
johnl87
I've noticed some games have separate options for bloom and HDR. Aren't those two different post processing effects that achieve different results? Bloom gives a aperture effect to the camera while HDR does post processing on different intensities of light thus making colors more intense. Is this correct? Do you get bloom for free with HDR, or do you have to apply bloom to the HDR image to get those awesome pics of light beaming through cathedral windows and stuff?
samoth
samoth
Bloom is a non-physically-correct hack to simulate light scattering effects inside optic devices (camera, eye) by adding some blur. It has, in general, nothing to do with HDR, although it is often used in combination. In its essence, Bloom is adding a blurred copy of the image, only including bright pixels above some threshold.

HDR is not a post-process effect, but has to do with the data representation. HDR means that the difference between "maximum dark" and "maximum bright" is much greater than the "usual" one.
A good camera can capture a difference upwards of 1:10000 in a scene. The human eye is able to register a difference of about 105 in a scene and it can adapt to a total range of about 1010.

Normally, HDR will mean that either 16 bit integers, half-floats, or floats are used to represent intensities, or some logarithmic scheme. As you allow for a wider range of intensities you will normally want more shades in between too, or else image quality won't be good. Note that this is not strictly necessary for "HDR", though.

Since a "normal" monitor can typically represent only 1:200 to 1:1000, HDR rendering usually includes a post processing step called "tone mapping", and Bloom is often used to beef it up a bit. HDR as such, is not a post-process, though.
MJP
MJP
They usually go hand-in-hand because...

A) Whether or not you do HDR and how you do it will typically affect how you handle bloom

and

B) 99% of gamers who know what HDR is think that HDR == bloom :-P

You do not have to do both, it's certainly possible to do HDR rendering + tone mapping and never add any bloom. Unless you specifically add in the steps for bloom, you won't get it "automatically" with HDR or anything like that.

Also just to be pedantic for a moment...tone mapping doesn't have to be done as a post process. [smile]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.