The Cg Tutorial by Randima Fernando and Mark J. Kilgard. This book is an excellent tutorial to programmable 3D graphics using the high-level graphics language Cg, which is practically the same as Direct3D's HLSL
Cg is the key to unlocking the power of a new generation of programmable graphics hardware. This book is the definitive introduction to Cg, and will be essential for anyone programming high-quality real-time graphics. The Cg Tutorial will teach you