The scene that I was shooting looks like that: Original Scene

I intentionally defocused and got that: Same scene defocused

The camera is a mid range Canon DSLR with a 100 mm prime lens and both pictures were taken from a tripod at a distance of ~2km.

What is causing the rainbowish flare around the bright white light sources? And why does it only occur for them?

May this be caused by the fact that these are LED floodlights? Or is this just due to the brightness? What is going on here?

  • 2
    \$\begingroup\$ Did you shoot this out of a window, behind either a bug mesh, or glass with embedded wires? \$\endgroup\$
    – Calyth
    Oct 5, 2017 at 20:37
  • \$\begingroup\$ Do you have a filter screwed on the front of the lens? \$\endgroup\$
    – Mike Dixon
    Oct 6, 2017 at 10:33
  • \$\begingroup\$ No filters, no Window, no mesh. \$\endgroup\$
    – Udo Klein
    Oct 6, 2017 at 20:27

3 Answers 3


The grid of rainbow flare is caused by strong light reflecting off your camera's sensor pixels, forward towards a surface (such as the rear element of your lens, or perhaps the IR filter over your camera's sensor if it is not bonded to the sensor's color filter array and/or microlenses). The light is then bounced back towards your sensor again, but greatly attenuated.

It's the 2D grid nature of your camera's sensor (like all digital cameras) that is causing the regular gridlike pattern.

Note that every surface inside a camera and its lens reflects light. Optical elements are very smooth, and therefore reflect specular (distinct) light. Some elements are coated, specifically to reduce reflections and therefore glare. The coatings don't entirely eliminate reflections, but they to greatly reduce, or attenuate, the reflections. Thus, the other lights in your image actually do reflect off the sensor and back, just like the brightest lights. But reflections from the dimmer lights are so much dimmer than the light they came from, that they aren't visible. It is possible they could be teased out if you cranked the exposure in post processing. But it might also be possible that their reflections were too faint to pick up at the ISO and shutter speed you used.

You can see a similar effect by shining a flashlight directly at a dark LCD monitor. It's a bit difficult to photograph, but very easy to see with your eyes. You will see an interference pattern caused by multiple near-parallel light rays bouncing off the individual pixel elements of your LCD. Some of the rays will constructively interfere, while others will destructively interfere, canceling each other out. Depending on the layout and orientation of the color pixels in your monitor, you probably won't see the same perfect grid pattern.


The answer has already been given by scottbb, but I'd like to add this photo of a reflection of a small light bulb on the screen of my mobile phone:

enter image description here

In contrast to your photo, this pattern was caused by the pixel grid of the LCD screen of the phone, and due to the oblongness of the red, green and blue subpixels, the pattern is not squarish. In contrast to this, an image sensor typically has squarish pixels, resulting in a squarish pattern.


Optical flare results when stray light intermingles with the image forming rays in an optical system. The optician does his/her best to midrate flare. All optical systems suffer from lens aberrations that degrade the image. The camera lens utilizes multiple lens elements. Most have positive power (convex) and some have negative power (concave). Some are made from dense glass, other less dense. The power and the material of construction and the figure (shape) all combine to mitigate aberrations. Since each surface has a high polish, each will reflect light. It is this reflected light that is the nemesis. To mitigate reflections, the surfaces of each lens are treated with a see-through mineral coat. It is the coat thickness that does the trick. The coat must be ¼ wavelength in thickness. Thus each coat is optimized for a specific frequency (color). Expensive optics can have as many a 12 or 13 coats per surface while less expensive optics may have only 1 or even none. The key here is; how many coatings and to what precision. Since each coat is specific for a single color, some colors will fare better than others as to what the outcome will be. Additionally many street lamps use sodium vapor as the source. These lamps output a very narrow bandwidth that averages 589.3 nanometers. Again, lens coats are specific as to color, likely your lens is optimized for the sodium vapor illuminate. On the other hand, white light contains all or most all the visible wavelengths. Thus white light flare is mitigated but not eliminated.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.