Bloom Lighting
   HOME

TheInfoList



OR:

Bloom (sometimes referred to as light bloom or glow) is a
computer graphics Computer graphics deals with generating images and art with the aid of computers. Computer graphics is a core technology in digital photography, film, video games, digital art, cell phone and computer displays, and many specialized applications. ...
effect used in
video game A video game or computer game is an electronic game that involves interaction with a user interface or input device (such as a joystick, game controller, controller, computer keyboard, keyboard, or motion sensing device) to generate visual fe ...
s,
demos Demos may refer to: Computing * DEMOS, a Soviet Unix-like operating system * DEMOS (ISP), the first internet service provider in the USSR * Demos Commander, an Orthodox File Manager for Unix-like systems * Plural for Demo (computer programming ...
, and
high-dynamic-range rendering High-dynamic-range rendering (HDRR or HDR rendering), also known as high-dynamic-range lighting, is the rendering of computer graphics scenes by using lighting calculations done in high dynamic range (HDR). This allows preservation of details t ...
(HDRR) to reproduce an imaging artifact of real-world cameras. The effect produces fringes (or feathers) of light extending from the borders of bright areas in an image, contributing to the illusion of an extremely bright light overwhelming the camera or eye capturing the scene. It became widely used in video games after an article on the technique was published by the authors of ''
Tron 2.0 ''Tron 2.0'' is a first-person shooter video game developed by Monolith Productions and published by Buena Vista Interactive. The Microsoft Windows version of the game was released in August 2003. The Mac OS X version was released by MacPlay on ...
'' in 2004.


Theory

There are two recognized potential causes of bloom.


Imperfect focus

One 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 disk In optics, the Airy disk (or Airy disc) and Airy pattern are descriptions of the best-focus (optics), focused Point source#Light, spot of light that a perfect lens (optics), lens with a circular aperture can make, limited by the diffraction of ...
(the diffraction pattern produced by passing a point light source through a circular aperture). Under normal circumstances, these imperfections are not 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 HDRR images, the effect can be reproduced by convolving the image with a windowed
kernel Kernel may refer to: Computing * Kernel (operating system), the central component of most operating systems * Kernel (image processing), a matrix used for image convolution * Compute kernel, in GPGPU programming * Kernel method, in machine learnin ...
of an Airy disc (for very good lenses), or by applying
Gaussian blur In image processing, a Gaussian blur (also known as Gaussian smoothing) is the result of blurring an image by a Gaussian function (named after mathematician and scientist Carl Friedrich Gauss). It is a widely used effect in graphics software, ...
(to simulate the effect of a less perfect lens), before converting the image to fixed-range pixels. The effect cannot be fully reproduced in non- HDRR imaging systems, because the amount of bleed depends on how bright the bright part of the image is. As an example, when 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, the bright image of the windows will bleed past the window frames when convolved with the Airy disc of the camera being used to produce the image.


CCD sensor saturation

Bloom in digital cameras is caused by an overflow of charge in the photodiodes, which are the light-sensitive elements in the camera's image sensor. When a photodiode is exposed to a very bright light source, the accumulated charge can spill over into adjacent pixels, creating a halo effect. This is known as "charge bleeding." The bloom effect is more pronounced in cameras with smaller pixels, as there is less room for the charge to dissipate. It can also be exacerbated by high ISO settings, which increase the camera's sensitivity to light and can result in more charge accumulation. While the bloom effect can be distracting in some images, it can also be used creatively to add a dreamy or otherworldly quality to photos.


Practical implementation

Current generation gaming systems are able to render
3D graphics 3D computer graphics, sometimes called CGI, 3D-CGI or three-dimensional computer graphics, are graphics that use a three-dimensional representation of geometric data (often Cartesian) that is stored in the computer for the purposes of perfor ...
using
floating-point In computing, floating-point arithmetic (FP) is arithmetic on subsets of real numbers formed by a ''significand'' (a Sign (mathematics), signed sequence of a fixed number of digits in some Radix, base) multiplied by an integer power of that ba ...
frame buffers, in order to produce HDR images. To produce the bloom effect, the linear HDRR image in the frame buffer is convolved with a convolution kernel in a post-processing step, before converting to RGB space. The convolution step usually requires the use of a large gaussian kernel that is not practical for realtime graphics, causing programmers to use approximation methods.


Use in games

Some of the earliest games to use the bloom effect include the
pre-rendered Pre-rendering is the process in which video footage is not rendered in real-time by the hardware that is outputting or playing back the video. Instead, the video is a recording of footage that was previously rendered on different equipment (typ ...
CGI game ''
Riven ''Riven: The Sequel to Myst'' is a 1997 adventure game developed by Cyan Productions and published by Red Orb Entertainment. The second installment of the ''Myst'' series, ''Riven'' was released for Mac and Windows personal computers on Oc ...
'' (1997), the
voxel In computing, a voxel is a representation of a value on a three-dimensional regular grid, akin to the two-dimensional pixel. Voxels are frequently used in the Data visualization, visualization and analysis of medical imaging, medical and scient ...
game '' Outcast'' (1999), and the
real-time Real-time, realtime, or real time may refer to: Computing * Real-time computing, hardware and software systems subject to a specified time constraint * Real-time clock, a computer clock that keeps track of the current time * Real-time Control Syst ...
3D polygon games '' The Bouncer'' (2000) and ''
Ico is a 2001 action-adventure game developed and published by Sony Computer Entertainment for the PlayStation 2. It was designed and directed by Fumito Ueda, who wanted to create a minimalist game based on a "boy meets girl" concept. Originally ...
'' (2001). Bloom was later popularized within the game development community in 2004, when an article on the technique was published by the authors of '' Tron 2.0''. Bloom lighting has been used in many games, modifications and game engines such as ''
Quake Live ''Quake Live'' is a first-person arena shooter video game by id Software. It is an updated version of '' Quake III Arena'' that was originally designed as a free-to-play game launched via a web browser plug-in. On September 17, 2014, the game ...
'', '' Cube 2: Sauerbraten'' and the Spring game engine. The effect was popular in 7th-generation games, which were released from 2005 through to the early 2010s. Several games from the period have received criticism for overuse of the technique. The heavy bloom lighting in '' RollerCoaster Tycoon 3'' (2005) was described as "disgusting" at the time by
GameSpot ''GameSpot'' is an American video gaming website that provides news, reviews, previews, downloads, and other information on video games. The site was launched on May 1, 1996, created by Pete Deemer, Vince Broady, and Jon Epstein. In addition ...
. Gaming Bolt described the trend as a gimmick that had died with the generation, and criticised the heavy use of the technique in major releases of the time such as '' The Elder Scrolls IV: Oblivion'' (2006), the
Xbox 360 The Xbox 360 is a home video game console developed by Microsoft. As the successor to the Xbox (console), original Xbox, it is the second console in the Xbox#Consoles, Xbox series. It was officially unveiled on MTV on May 12, 2005, with detail ...
port of ''
Burnout Revenge ''Burnout Revenge'' is a 2005 racing video game developed by Criterion Games and published by Electronic Arts for PlayStation 2, Xbox and Xbox 360. Similar to its predecessor '' Burnout 3: Takedown'', ''Revenge'' focuses on a mixture of racing ...
'' (2006), and ''
Twilight Princess is a 2006 action-adventure game developed and published by Nintendo for the GameCube and Wii. Originally planned for release exclusively on the GameCube in November 2005, Nintendo delayed the release to refine the game, add more content and po ...
'' (2006). ''
Syndicate A syndicate is a self-organizing group of individuals, companies, corporations or entities formed to transact some specific business, to pursue or promote a shared interest. Etymology The word ''syndicate'' comes from the French word ''syndic ...
'' (2012) has also been described as featuring "eye-melting" bloom.


See also

*
Chromatic aberration In optics, chromatic aberration (CA), also called chromatic distortion, color aberration, color fringing, or purple fringing, is a failure of a lens to focus all colors to the same point. It is caused by dispersion: the refractive index of the ...
*
Contre-jour Contre-jour (; ) is a photographic technique in which the camera is pointing directly toward a light source, source of light, as well as an equivalent technique of painting. Description Before its use in photography, contre-jour was used in pa ...
*
Tone mapping Tone mapping is a technique used in image processing and computer graphics to map one set of colors to another to approximate the appearance of high-dynamic-range (HDR) images in a medium that has a more limited dynamic range. Print-outs, C ...


References


External links


Real-Time Glow
{{DEFAULTSORT:Bloom (Shader Effect) Demo effects Shading