We use a spot light to illuminate the cube within our world. We set the position, direction and cone angle so that the top is illuminated more than the other sides. We set the light's color to white since we are using it to illuminate the cube's underlying material, which is also white. Thus, the brightness of the material, and in turn the texture applied to the cube, will vary with the how the side of the cube is oriented to the spot light.