Displacement Mapping on the GPU - State of the Art

László Szirmay-Kalos, Tamás Umenhoffer
Department of Control Engineering and Information Technology, Technical University of Budapest,
Budapest,Magyar Tudósok krt. 2, H-1117, HUNGARY
szirmay@iit.bme.hu

Abstract:

This paper reviews the latest developments of displacement mapping algorithms implemented on the vertex, geometry, and fragment shaders of graphics cards. Displacement mapping algorithms are classified as per-vertex and per-pixel methods. Per-pixel approaches are further categorized as safe algorithms that aim at correct solutions in all cases, to unsafe techniques that may fail in extreme cases but are usually much faster than safe algorithms, and to combined methods that exploit the robustness of safe and the speed of unsafe techniques. We discuss the possible roles of vertex, geometry, and fragment shaders to implement these algorithms. Then the particular GPU based bump, parallax, relief, sphere, horizon mapping, cone stepping, local ray tracing, pyramidal and view-dependent displacement mapping methods, as well as their numerous variations are reviewed providing also implementation details of the shader programs. We present these methods using uniform notations and also point out when different authors called similar concepts differently. In addition to basic displacement mapping, self-shadowing and silhouette processing are also reviewed. Based on our experiences gained having re-implemented these methods, their performance and quality are compared, and the advantages and disadvantages are fairly presented.

Keywords:

Displacement mapping, Tangent space, Direct3D 9 and 10, HLSL, Silhouettes, Self shadowing, GPU