Chapter23.Understanding the High-Level Shader Language


Chapter 23. Understanding the High-Level Shader Language

A couple of chapters ago, I briefly introduced the High-Level Shader Language (HLSL), and you even got to write some basic vertex and pixel shaders using it. However, I scratched only the surface of this amazing technology. There are entire books dedicated to understanding the intricacies of the language and writing amazing shaders.

Because this book is only a beginner's book, an exhaustive look at this technology isn't feasible, but you should get a little more information on the subject to help you write the great games of the future.

In this chapter, you'll learn

  • Why you should fully understand HLSL

  • How to update lighting code to add specular highlights

  • How to implement per-pixel lighting



Beginning 3D Game Programming
Beginning 3D Game Programming
ISBN: 0672326612
EAN: 2147483647
Year: 2003
Pages: 191
Authors: Tom Miller

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net