CHAPTER 10: OpenGL ES 2, Shaders, and... (^329)
Figure 10-5. A close-up on the right of the earth/water interface
Bring in the Clouds
So, it certainly seems as if something else is missing. Oh, yeah. Those cloud things.
Well, we’re in luck because shaders can very easily manage that as well. Available in the
downloadable project files I’ve added a cloud map of the entire earth, as shown in
Figure 10-6. The land masses are a little hard to see, but in the lower right is Australia,
while in the left half you can barely see South America. So, our job is to overlay it on top
of the color landscape map and drop out all of the low-contrast bits.
Figure 10-6. Full-earth cloud patterns
singke
(singke)
#1