by Richard S. Wright, Jr.
WHAT YOU'LL LEARN IN THIS CHAPTER:
Functions You'll Use
Blend colors and objects together
Use alpha testing to eliminate fragments
Add depth cues with fog
Render motion-blurred animation
In the preceding chapter, you learned that there is more to making a ball appear red than just setting the drawing color to red. Material properties and lighting parameters can go a long way toward adding realism to your graphics, but modeling the real world has a few other challenges that we will address in this chapter. For starters, many effects are accomplished by means of blending colors together. Transparent ...