Pro OpenGL ES for iOS

(singke) #1

242 CHAPTER 7: Well-Rendered Miscellany^


Figure 7-14. Showing the shadow in wireframe mode. The cube has been removed in the rightmost image to
show the wireframe more clearly.

You can also have multiple lights. Figure 7-15 shows two side-by-side lights.

Figure 7-15. The cube with multiple lights
Free download pdf