Jump to content
Posted 06 September 2012 - 08:37 AM
Posted 06 September 2012 - 11:55 AM
Edited by TiagoCosta, 06 September 2012 - 11:57 AM.
Posted 06 September 2012 - 12:43 PM
Bloom is no hack. It's actually just a part of the flares lenses produce. Because no glass is perfect a really small amount of light always gets refracted onto nearby pixels. Normal distribution (aka gaussian filter) doesn't produce the most physically correct results though. An exponential distribution is better suited for Bloom, but it's not separable thus being not well suited for a realtime application. You can approximate an exponential distribution by using multiple gaussians though which is what they are doing in CryEngine 3 and Unreal Engine 4.
There's no right way to do Bloom because it's basically an hack
Edited by CryZe, 06 September 2012 - 12:59 PM.
Posted 06 September 2012 - 04:22 PM
Edited by MJP, 06 September 2012 - 04:22 PM.
Posted 06 September 2012 - 05:29 PM
Most consumer monitors (cheap TN and IPS panels) have 6-bit colour depth, and achieve 8-bit equivalence via dithering. Even mid-range IPS panels are only 8-bit (plus 2-bit dither).
Also a cool trick is to use a R10G10B10A2 resource as a backbuffer. Most monitors can actually display this when the application runs in full screen.