Skip to Main Content
GPU Gems 3
book

GPU Gems 3

by Hubert Nguyen
August 2007
Intermediate to advanced content levelIntermediate to advanced
1008 pages
21h 13m
English
Addison-Wesley Professional
Content preview from GPU Gems 3

Chapter 17. Robust Multiple Specular Reflections and Refractions

Tamás Umenhoffer Budapest University of Technology and Economics

Gustavo Patow University of Girona

László Szirmay-Kalos Budapest University of Technology and Economics

In this chapter, we present a robust algorithm to compute single and multiple reflections and refractions on the GPU. To allow the fragment shader to access the geometric description of the whole scene when looking for the hit points of secondary rays, we first render the scene into a layered distance map. Each layer is stored as a cube map in the texture memory. The texels of these cube maps contain not only color information, but also the distance from a reference point and the surface normal, so the texels can be ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

GPU Computing Gems Emerald Edition

GPU Computing Gems Emerald Edition

Wen-mei W. Hwu
GPU PRO 3

GPU PRO 3

Wolfgang Engel

Publisher Resources

ISBN: 9780321545428Purchase book