Advanced Lighting and Materials with Shaders by Kelly Dempski; Emmanuel VialePublication Date: 2004-10-31
The world around us is filled with subtle lighting effects, but until recently it was not possible to duplicate these real-world effects in computer games because of the limits of consumer graphics hardware. Advanced Lighting and Materials with Shaders explains the principles of lighting theory and discusses how to create realistic lighting that takes full advantage of the capabilities of modern hardware. Topics include the physics of light, raytracing and related techniques, objects and materials, lighting and reflectance models, implementing lights in shaders, spherical harmonic lighting, spherical harmonics in DirectX, and real-time radiosity. Upon reading this text, you will: Understand the underlying physics of light and energy. Learn about the visual features of different materials and how they can be modeled for real-time graphics. Find out about the different lighting models. Discover how real-time techniques compare to ray tracing. Learn to use the provided shader implementations to implement lights and realistic materials in real time.