The ommatidia in the compound eyes of insects absorbs incidental light to prevent it from reaching the lens via "scattering pigment."

Edit Hook

References

"Each ommatidium…consists of several basic parts. There is a layer of transparent cuticle on the outside, which allows light into a lens beneath it. This is usually surrounded by cells containing 'scattering pigment' which absorbs scattered or incidental light rays, so that the only light entering the ommatidium is directly parallel to its axis. This beam of light is directed by the lens down the narrow visual centre or rhabdom where it reacts with pigment, stimulating the nerve cells that surround the rhabdom. The nerve cells pass the message to the optical centre in the insect's 'brain' where it is interpreted…The ommatidia of different insects are varied. They may even be of different sizes within a single compound eye. The scattering pigment reduces the total amount of light entering the eye, so insects active by day may find themselves blind at dusk when the light is lower and more diffused. Nocturnal insects, however, often have the ability to withdraw the scattering pigment from their eyes at night in order to absorb every scrap of available light and to allow light from many of the lens facets to focus on a single light-sensitive rhabdom, thus increasing the effective aperture of the lens system. Many moths go even further, possessing (like cats and some other animals) a kind of mirror - the tapetum - at the back of the eye: this reflects light back through the retinal cells, so every beam of light is used twice over." (Foy and Oxford Scientific Films 1982:122-123)

Book
The grand design: Form and colour in animalsDecember 6, 1983
Sally Foy

Edit References

Learn More about the living system/s