In contrast, however, lighting in everyday environments is complex. It can include primary light sources such as the sun or electric lights, as well as reflective surfaces and light-scattering volumes that function as secondary light sources. The lighting conditions at any point in space therefore depend on both primary sources and on the geometry and optical properties of surrounding materials (Gershun,
1939; Moon & Spencer,
1981). Furthermore, lighting conditions generally vary across spatial locations within a scene, sometimes gradually as when moving through a large, evenly lit space, and sometimes suddenly as when crossing a shadow boundary. Fine details of lighting conditions are unimportant for the appearance of convex matte objects (Ramamoorthi & Hanrahan,
2001; Basri & Jacobs,
2003), but even coarse lighting properties, such as direction and diffuseness, can vary substantially within a scene (Dror, Willsky, & Adelson,
2004; Mury, Pont, & Koenderink,
2007,
2009a,
2009b; Cuttle,
2008; Morgenstern, Geisler, & Murray,
2014). Complex lighting poses a challenge for the human visual system, because the retinal image is generated by interactions between light, shape, and material properties, and as a result the information available at the retina is deeply ambiguous (e.g., Belhumeur, Kriegman, & Yuille,
1999). Current models of human visual perception make a wide range of claims about how we represent lighting. Some suggest that human vision represents both lighting direction and diffuseness (Boyaci, Maloney, & Hersh,
2003; Bloj et al.,
2004; Morgenstern et al.,
2014), while others claim that we do not represent lighting at all for some purposes, including perception of shape from shading (Fleming, Holtmann-Rice, & Bülthoff,
2011), and still others have intermediate views (Gilchrist et al.,
1999). Human perception of shape from shading has been studied extensively under collimated lighting (Todd & Mingolla,
1983; Ramachandran,
1988), and to a more limited extent under completely diffuse lighting (Langer & Bülthoff,
2000), but much less is known about how human vision deals with the complex lighting conditions that are typical of natural scenes, including spatiotemporal lighting changes within a scene. Similarly, classic computer vision approaches to shape from shading assume a distant point light source (Horn,
1975; Zhang, Tsai, Cryer, & Shah,
1999), although recent work has made progress on relaxing this assumption (e.g., Tian, Tsui, Yeung, & Ma,
1999; Barron & Malik,
2015).