Bloom (shader effect)

Bloom (shader effect)

Bloom (sometimes referred to as light bloom or glow) is a computer graphics effect used in computer games, demos and high dynamic range rendering (HDR) to reproduce an imaging artifact of real-world cameras. The effect produces fringes (or feathers) 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) cite web | title=Airy disk | publisher=svi.nl| url=http://support.svi.nl/wiki/AiryDisk | accessdate=2007-05-03] . 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 its 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.

Use of bloom in computer graphics appeared in demos decades before it entered commercial games. Because of the high theoretical and hardware requirements of the Fourier transform needed to do HDR imaging, many demos use other techniques to implement bloom. However this is becoming less common with modern hardware.It has a reputation for being a visual boost on high-end demos, and has the advantage of taking focus away from uninteresting areas.It has therefore become an often used way of covering up low detailed areas, often due to the demogroups hardware, comporules or skill limitions for this particular demo.

The effect is popular in current generation games, and is used heavily in Xbox 360 and PlayStation 3 games as well as the popular GameCube and Wii release, . 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 effect is sometimes used to enhance the bloom effect.

Bloom became very popular after "Tron 2.0" and is used in many games, modifications, and game engines, including "Sauerbraten", "Nexuiz", and OGRE. "Ico" was one of the earliest games to use the bloom effect.cite web | title=Bittersweet Symphony | publisher=1up.com | url=http://www.1up.com/do/feature?cId=3144548 | accessdate=2006-07-27]

Bloom also refers to 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

Implementation Links

* [http://www.gamasutra.com/features/20040526/james_pfv.htm Real-Time Glow]
* [http://collective.valve-erc.com/index.php?doc=1087646312-07733400&page=3 Real-Time "TRON 2.0" Glow For Low-Spec Hardware]

ee also

* High dynamic range rendering
* Tone mapping


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Bloom — The term bloom usually refers to the general expression describing the aesthetic experience of one or more flowers on a flowering plant. Also used as a metaphor for young people at the peak of their beauty or health. See also Blossom.Bloom or… …   Wikipedia

  • Pixel-Shader — (auch Pixelshader, Fragment Shader, Abk. PS) sind Programme, die vom Grafikprozessor einer 3D Grafikkarte im Verlauf der Grafikpipeline (in den sogenannten Shadereinheiten) ausgeführt werden. Häufig werden auch die Shadereinheiten selbst als… …   Deutsch Wikipedia

  • High dynamic range rendering — A comparison of the standard fixed aperture rendering (left) with the HDR rendering (right) in the video game Half Life 2: Lost Coast In 3D computer graphics, high dynamic range rendering (HDRR or HDR rendering), also known as high dynamic range… …   Wikipedia

  • List of effects — This is a list of names for observable phenonema that contain the word effect, amplified by reference(s) to their respective fields of study. #*3D audio effect (audio effects)A*Accelerator effect (economics) *Accordion effect (physics) (waves)… …   Wikipedia

  • Nexuiz — Developer(s) Alientrap Publisher(s) Alientrap Engine DarkPlaces …   Wikipedia

  • Truevision3d — Infobox Software name = Truevision3D Engine caption = developer = Truevision3D, LLC. latest release version = 6.3 latest release date = May 5 2007 latest preview version = 6.5 latest preview date = September 2 2007 operating system = Microsoft… …   Wikipedia

  • modo (software) — modo Developer(s) Luxology, LLC Stable release 501 / December 15, 2010 Operating system Mac OS X , Windows …   Wikipedia

  • Microsoft Flight — Logo for Microsoft Flight as seen on the website Developer(s) Microsoft Studios …   Wikipedia

  • Vanilla — is a flavoring derived from orchids of the genus Vanilla native to Mexico. Etymologically, vanilla derives from the Spanish word es. vainilla , little pod . cite journal |url=http://www.efloras.org/florataxon.aspx?flora id=1 taxon id=134375… …   Wikipedia

  • Framebuffer Object — The frame buffer object architecture (FBO) is an extension to OpenGL for doing flexible off screen rendering, including rendering to a texture. By capturing images that would normally be drawn to the screen, it can be used to implement a large… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”