Scheme of lens flare
Light coming from a narrow angle may be "trapped" and reflected between the surfaces of the lens elements.
A lens flare

A lens flare happens when light is scattered or flared in a lens system, often in response to a bright light, producing a sometimes undesirable artifact in the image. This happens through light scattered by the imaging mechanism itself, for example through internal reflection and forward scatter from material imperfections in the lens. Lenses with large numbers of elements such as zooms tend to have more lens flare, as they contain a relatively large number of interfaces at which internal scattering may occur. These mechanisms differ from the focused image generation mechanism, which depends on rays from the refraction of light from the subject itself.

There are two types of flare: visible artifacts and glare across the image. The glare makes the image look "washed out" by reducing contrast and color saturation (adding light to dark image regions, and adding white to saturated regions, reducing their saturation). Visible artifacts, usually in the shape of the aperture made by the iris diaphragm, are formed when light follows a pathway through the lens that contains one or more reflections from the lens surfaces.

Flare is particularly caused by very bright light sources. Most commonly, this occurs when aiming toward the Sun (when the Sun is in frame or the lens is pointed sunward), and is reduced by using a lens hood or other shade. For good-quality optical systems, and for most images (which do not have a bright light shining into the lens), flare is a secondary effect that is widely distributed across the image and thus not visible, although it does reduce contrast.


Severe flare in a CCTV camera lens

The spatial distribution of the lens flare typically manifests as several starbursts, rings, or circles in a row across the image or view. Lens flare patterns typically spread widely across the scene and change location with the camera's movement relative to light sources, tracking with the light position and fading as the camera points away from the bright light until it causes no flare at all. The specific spatial distribution of the flare depends on the shape of the aperture of the image formation elements. For example, if the lens has a 6-bladed aperture, the flare may have a hexagonal pattern.

Such internal scattering is also present in the human eye, and manifests in an unwanted veiling glare most obvious when viewing very bright lights or highly reflective surfaces. In some situations, eyelashes can also create flare-like irregularities, although these are technically diffraction artifacts.

When a bright light source is shining on the lens but not in its field of view, lens flare appears as a haze that washes out the image and reduces contrast. This can be avoided by shading the lens using a lens hood. In a studio, a gobo or set of barn doors can be attached to the lighting to keep it from shining on the camera. Filters can be attached to the camera lens which will also minimise lens flare, which is especially useful for outdoor photographers.

When using an anamorphic lens, as is common in analog cinematography, lens flare can manifest itself as horizontal lines. This is most commonly seen in car headlights in a dark scene, and may be desired as part of the "film look".

Deliberate use

Lens flare on Borobudur stairs to enhance the sense of ascending

A lens flare is often deliberately used to invoke a sense of drama. A lens flare is also useful when added to an artificial or modified image composition because it adds a sense of realism, implying that the image is an un-edited original photograph of a "real life" scene.

For both of these reasons (implying realism and/or drama) artificial lens flare is a common effect in various graphics editing programs, although its use can be a point of contention among professional graphic designers.[1] Lens flare was one of the first special effects developed for computer graphics because it can be imitated using relatively simple means. Basic flare-like effects, for instance in video games, can be obtained by drawing starburst, ring, and disc textures over the image and moving them as the location of the light source changes.[2] More sophisticated rendering techniques have been developed based on ray tracing[3] or photon mapping.[4]

Lens flare was typically avoided by Hollywood cinematographers, but when filming Easy Rider (1969), Harrison Arnold was forced to modify a camera car for his Arriflex, which resulted in numerous lens flares as he shot motorcycle footage against landscapes of the Southwestern United States.[5]

Director J. J. Abrams added numerous lens flares to his films Star Trek (2009) and Super 8 (2011) by aiming powerful off-camera light sources at the lens. He explained in an interview about Star Trek: "I wanted a visual system that felt unique. I know there are certain shots where even I watch and think, 'Oh that's ridiculous, that was too many.' But I love the idea that the future was so bright it couldn't be contained in the frame." Many complained of the frequent use; Abrams conceded it was "overdone, in some places."[6]

David Boyd, the director of photography of the sci-fi Firefly series, desired this style so much (harkening back to 1970s television), that he sent back cutting-edge lenses that reduced lens flare in exchange for cheaper ones.[7][verification needed]

Other forms of photographic flare

Filter flare

The use of photographic filters can cause flare, particularly ghosts of bright lights (under central inversion).[8] This can be eliminated by not using a filter, and reduced by using higher-quality filters or narrower aperture.

Diffraction artifact in digital cameras

One form of flare is specific to digital cameras. With the sun shining on an unprotected lens, a group of small rainbows appears. This artifact is formed by internal diffraction on the image sensor, which acts like a diffraction grating. Unlike true lens flare, this artifact is not visible in the eyepiece of a digital SLR camera, making it more difficult to avoid.


See also


  1. ^ Evening, Martin (March 2000). Adobe Photoshop 5.5 for Photographers: A professional image editor's guide to the creative use of Photoshop for the Macintosh and PC. Focal Press. p. 335. ISBN 0-240-51591-9. Archived from the original on 2017-11-28.
  2. ^ Albee, Timothy; Steve Warner; Robin Wood (January 2005). Essential lightwave 3D 8: the fastest and easiest way to master LightWave. Wordwave Publishing. p. 434. ISBN 1-55622-082-0. Archived from the original on 2017-11-28.
  3. ^ Hullin, Matthias; Elmar Eisemann; Hans-Peter Seidel; Sungkil Lee (August 2011). "Physically based real-time lens flare rendering". ACM Transactions on Graphics. 30 (4): 1–10. doi:10.1145/2010324.1965003.
  4. ^ Keshmirian, Arash (August 2008). A physically-based approach for lens flare simulation. University of California, San Diego. Master's Thesis Publication No. 1451802.
  5. ^ Keith Phipps (2009-11-17). "The Easy Rider Road Trip". Slate. Archived from the original on 2009-11-20. Retrieved 2009-11-19.
  6. ^ "J.J. Abrams Admits Star Trek Lens Flares Are 'Ridiculous'". 2009-04-27. Archived from the original on 2012-12-21. Retrieved 2012-12-06.
  7. ^ Whedon, Firefly: the complete series: "Serenity" commentary
  8. ^ Filter Flare Archived 2011-03-21 at the Wayback Machine, Paul van Walree 2003–2010
  9. ^ "Physically-Based Real-Time Lens Flare Rendering".
  10. ^ NASAPersevere (7 April 2021). "Twitter Tweet: Rainbow On Mars - No, A Lens Flare". NASA. Retrieved 8 April 2021.
  11. ^ Wall, Mike (7 April 2021). "No, the Perseverance rover didn't spot a rainbow on Mars". Retrieved 8 April 2021.