Shading Illusions: How 2-D Becomes 3-D in the Mind

Light cues influence the brain's processing of depth

THE VISUAL IMAGE is inherently ambiguous: an image of a person on the retina would be the same size for a dwarf seen from up close or a giant viewed from a dis­tance. Perception is partly a matter of using certain assumptions about the world to resolve such ambiguities. We can use illusions to uncover what the brain’s hidden rules and assumptions are. In this column, we consider illusions of shading.

In illustration a, the disks are ambiguous; you can see either the top row as ­con­vex spheres or “eggs,” lit from the left, and the bottom row as cavities—or vice ver­sa. This observation reveals that the vi­sual centers in the brain have a built-in sup­position that a single light source illuminates the entire image, which makes sense given that we evolved on a planet with one sun. By consciously shif­ting the light source from left to right, you can make the eggs and cavities switch places.

In illustration b, the image is even more compelling. Here the disks that are light on the top always look like eggs, and the ones that are light on the bottom are cavities. So we have uncovered another premise used by the visual system: it expects light to shine from above. You can verify this by turning the page upside down. All the eggs and cavities instantly switch places.


On supporting science journalism

If you're enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.


Amazingly, the brain’s assumption that light shines from above the head is preserved even when you rotate your head 180 degrees. Ask a friend to hold this page right side up for you. Then bend down and look between your legs at the page behind you. You will find that, again, the switch occurs, as if the sun is stuck to your head and shining upward from the floor. Signals from your body’s center of balance—the vestibu­lar system—guided by the positions of little stones in your ears called otoliths, travel to your visual centers to correct your picture of the world (so that the world continues to look upright) but do not correct for the location of the sun.

From this experiment we learn that despite the impression of seamless unity, vision is actually mediated by multiple parallel information-processing modules in the brain. Some of the modules connect to the vestibular system; however, the one that handles shape from shading does not. The reason might be that correcting an image for placement in so-called world-centered coordinates would be too computationally expensive and take too much time. Our ancestors generally kept their heads upright, so the brain could get away with this shortcut (or simplifying assumption). That is, our progenitors were able to raise babies to maturity often enough that no selection pressure acted to produce vestibular correction.

If you look at illustration c, you find that you can almost instantly mentally group all the eggs and segregate them from the cavities. As visual scientists discovered decades ago, only certain elementary features that are extracted early during visual processing “pop out” conspicuously and can be grouped in this manner. For example, your brain can discern a set of red dots in a background of green ones but cannot group smiles scat­tered among a backdrop of frowns. Color is thus a primitive feature that is extracted early, whereas a smile is not.

(It makes survival sense to be able to piece together fragments of similar color. A lion hidden behind a screen of green leaves is visible merely as gold fragments, but the visual brain assembles the pieces into a single, gold, lion-shaped form and warns: “Get out of here!” On the other hand, objects are not made up of smiles.)

The fact that you can group the eggs in c implies that shading information, like color, is extracted early in visual processing. This prediction was verified in recent years by recording activity in the neurons of monkeys and by conducting brain-imaging experiments in humans. Certain cells in the visual cortex fire when the observer sees eggs; others respond only to cavities. In illustration d, where the circles have the same luminance polarities as in c, you cannot perceive the grouping; this fact suggests the importance of perceived depth as a cue that is extracted early in visual processing.

Of course, over millions of years, evolution has “discovered” and taken advantage of the principles of shading that researchers have explored only lately. Gazelles have white bellies and dark backs—countershading—that neutralize the effect of sunshine from above. The result reduces pop-out so that gazelles are not as conspicuous; they also appear skinnier and less appetizing to a predator. Caterpillars have countershading, too, so they more closely resemble the flat leaves on which they munch. One caterpillar species has “reverse” countershading—which did not make sense until scientists realized that the insect habitually hangs upside down from twigs. One type of octopus can even invert its countershading: if you suspend the octopus upside down, it uses pigment-producing cells called chromatophores in the skin, which are controlled by its vestibular input, to reverse its darker and lighter areas.

Charles Darwin noticed a striking example of nature’s use of shading in the prominent eyelike spots on the long tails of argus pheasants. With the tail feathers at horizontal rest, the orbs are tinged from left to right. During the birds’ courtship display, however, the tail feathers become erect. In this position, the spots are paler on top and duskier at bottom, so the disks seem to bulge out like shiny metallic spheres—the avian equivalent of jewelry.

That a few simple shaded circles can unveil the underlying assumptions of our visual systems—and even how such principles have played a role in shaping evolutionary adaptations—shows the power of visual illusions in helping us to understand the nature of perception.

Editor's Note: This story was originally published with the title "Seeing is Believing"

(Further Reading)

  • Perceiving Shape from Shading. Vilayanur S. Ramachandran in Scientific American, Vol. 259, No. 2, pages 76–83; August 1988.

  • On the Perception of Shape from Shading. D. A. Kleffner and V. S. Ramachandran in Perception and Psychophysics, Vol. 52, No. 1, pages 18–36; July 1992.

  • Neural Activity in Early Visual Cortex Reflects Behavioral Experience and Higher-Order Perceptual Saliency. Tai Sing Lee, Cindy F. Yang, Richard D. Romero and David Mumford in Nature Neuroscience, Vol. 5, No. 6, pages 589–597; June 2002.

SA Mind Vol 19 Issue 4This article was published with the title “Illusions: Seeing Is Believing” in SA Mind Vol. 19 No. 4 (), p. 16
doi:10.1038/scientificamericanmind0808-16

It’s Time to Stand Up for Science

If you enjoyed this article, I’d like to ask for your support. Scientific American has served as an advocate for science and industry for 180 years, and right now may be the most critical moment in that two-century history.

I’ve been a Scientific American subscriber since I was 12 years old, and it helped shape the way I look at the world. SciAm always educates and delights me, and inspires a sense of awe for our vast, beautiful universe. I hope it does that for you, too.

If you subscribe to Scientific American, you help ensure that our coverage is centered on meaningful research and discovery; that we have the resources to report on the decisions that threaten labs across the U.S.; and that we support both budding and working scientists at a time when the value of science itself too often goes unrecognized.

In return, you get essential news, captivating podcasts, brilliant infographics, can't-miss newsletters, must-watch videos, challenging games, and the science world's best writing and reporting. You can even gift someone a subscription.

There has never been a more important time for us to stand up and show why science matters. I hope you’ll support us in that mission.

Thank you,

David M. Ewalt, Editor in Chief, Scientific American

Subscribe