Turning On the Lights
You must be strong now. You must never give up. And when people [or code] make you cry and you are afraid of the dark, don't forget the light is always there.
Light is the first of painters. There is no object so foul that intense light will not make it beautiful.
—Ralph Waldo Emerson
Everything's shiny, Cap'n. Not to fret.
—Kaylee Frye, Firefly
This chapter will cover one of the single biggest topics for OpenGL ES: the process of illuminating, shading, and coloring the virtual landscape. We touched on color in the previous chapter, but because it is so integral to both lighting and shading, we will cover it more in depth here.
The Story of Light and Color
Without light, the world would be a ...