Jump to content

Bloom (shader effect): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Example Image from video game
Line 11: Line 11:
As an example, if a picture is taken indoors, the brightness of outdoor objects seen through a window may be 70 or 80 times brighter than objects inside the room. If exposure levels are set for objects inside the room, windows will be bright enough, when convolved with the Airy disc of the camera being used to produce the image, to cause the image of the windows to bleed past the frames of the window.
As an example, if a picture is taken indoors, the brightness of outdoor objects seen through a window may be 70 or 80 times brighter than objects inside the room. If exposure levels are set for objects inside the room, windows will be bright enough, when convolved with the Airy disc of the camera being used to produce the image, to cause the image of the windows to bleed past the frames of the window.


The effect is popular in current generation games, and is used heavily in XBOX 360 and PS3 games. Current generation gaming systems are able to render 3D graphics using floating point frame buffers, in order to produce HDR images. To produce the bloom effect, the HDR images in the frame buffer are convolved with a convolution kernel in a post-processing step, before converting to RGB space.
[[Image:Roller-coaster-tycoon-bloom-effect.jpeg|left|thumb|400px|An example of bloom in a [[Roller Coaster Tycoon 3]] screenshot]]The effect is popular in current generation games, and is used heavily in XBOX 360 and PS3 games. Current generation gaming systems are able to render 3D graphics using floating point frame buffers, in order to produce HDR images. To produce the bloom effect, the HDR images in the frame buffer are convolved with a convolution kernel in a post-processing step, before converting to RGB space.


The [[Afterimage (shader effect)]] is sometimes used to enhance the Bloom effect.
The [[Afterimage (shader effect)]] is sometimes used to enhance the Bloom effect.

Revision as of 19:50, 22 June 2007

An example of bloom in a picture taken with a camera. Note the blue fringe that's particularly noticeable along the right edge of the window.

Bloom (sometimes referred to as Light bloom) is a computer graphics effect used in computer games and high dynamic range rendering (HDR) to reproduce an imaging artifact of real-world cameras. The effect produces fringes of light around very bright objects in an image.

The physical basis of bloom is that, in the real world, lenses can never focus perfectly. Even a perfect lens will convolve the incoming image with an Airy disc (the diffraction pattern produced by passing a point light source through a circular aperture) [1]. Under normal circumstances, these imperfections aren't noticeable; but, an intensely bright light source will cause the imperfections to become visible. As a result, the image of the bright light appears to bleed beyond it's natural borders.

The Airy disc function falls off very quickly but has very wide tails (actually, infinitely wide tails). As long as the brightness of adjacent parts of the image are roughly in the same range, the effect of the blurring caused by the Airy disc is not particularly noticeable; but in parts of the image where very bright parts are adjacent to relatively darker parts, the tails of the Airy disc become visible, and can extend far beyond the extent of the bright part of the image.

In HDR images, the effect can be re-produced by convolving the image with a windowed kernel of an Airy disc (for very good lenses), or by applying Gaussian blur (to simulate the effect of a less perfect lens), before converting the image to fixed-range pixels. The effect can't be fully reproduced in non-HDR imaging systems, because the amount of bleed depends on how bright the bright part of the image is.

As an example, if a picture is taken indoors, the brightness of outdoor objects seen through a window may be 70 or 80 times brighter than objects inside the room. If exposure levels are set for objects inside the room, windows will be bright enough, when convolved with the Airy disc of the camera being used to produce the image, to cause the image of the windows to bleed past the frames of the window.

File:Roller-coaster-tycoon-bloom-effect.jpeg
An example of bloom in a Roller Coaster Tycoon 3 screenshot

The effect is popular in current generation games, and is used heavily in XBOX 360 and PS3 games. Current generation gaming systems are able to render 3D graphics using floating point frame buffers, in order to produce HDR images. To produce the bloom effect, the HDR images in the frame buffer are convolved with a convolution kernel in a post-processing step, before converting to RGB space.

The Afterimage (shader effect) is sometimes used to enhance the Bloom effect.

Bloom became very popular after Tron 2.0 and is used in many games and modifications. Ico was one of the earliest games to use the bloom effect.[2]

Bloom lighting is now sometimes considered overused and clichéd, reminiscent of the overusage of lens flare effects in early 3D-accelerated computer games.

Bloom also refers the unrelated effect that is produced when a CCD camera is pointed at a bright light. Bright lights will temporarily oversaturate the CCD, producing oddly colored light trails as the image of the bright light moves across the CCD imaging device.

References

  1. ^ "Airy disk". svi.nl. Retrieved 2007-05-3. {{cite web}}: Check date values in: |accessdate= (help)
  2. ^ "Bittersweet Symphony". 1up.com. Retrieved 2006-07-27.

See also