The digitized sample geometry was rendered on a display (EIZO CG220, 1920 × 1200 pixels) using OpenGL and the Psychtoolbox in version 3 (Kleiner, Brainard, & Pelli,
2007). The intensity _o of a particular surface element was determined as a contribution of ambient, diffuse, and specular light flows per light source using a model proposed by Phong (
1975):
where
∗ is the intensity of each inflow,
∗ is surface reflectance, and
∗ allows weighting contribution of each inflow, ∑
w* = 1. Indices stand for ambient, diffuse, and specular flow, respectively. The angle
γ is the angle of incidence to the surface normal, and θ is the angle between direction of specularly reflected light and the viewing direction. The exponent
p is used to vary the angular extent of the specularly reflected light. Vectorial notation just means that these calculations are made for each channel (here: R, G, B) separately; hence,
∗r∗ denotes multiplication per component in
Equation 1. One should note that diffuse and ambient contributions are independent of the observer position in this model. The
∗ was set to (1, 1, 1) for each flow, and
∗ was kept constant during Experiment 1. For each observer, we used the same 10 settings of parameters
wa,
wd,
ws,
p, differing between trials (
Table 2).