Shaders and Materials
Shaders allow for a level of realism in games that is stunning and getting better all the time. In Figure 3-1 there are some screenshots provided by NVIDIA. As I write this, the latest crop of DirectX 10 cards is out, and the quality of the graphics is amazing. Simply put, a shader is a miniprogram that processes graphic effects in real time. For example, the reﬂec- tions on a surface can move in real time instead of being “baked” or permanently painted into a surface. Shader effects are very powerful visually, even if viewers are unaware of what they are seeing. That is, the average player would have a hard time deﬁning why the game he or she is playing looks so good. It ...