Fitted virtual shadow maps

Too little shadow map resolution and resulting undersampling artifacts, perspective and projection aliasing, have long been a fundamental problem of shadowing scenes with shadow mapping. We present a new smart, real-time shadow mapping algorithm that virtually increases the resolution of the shadow map beyond the GPU hardware limit where needed. We first sample the scene from the eye-point on the GPU to get the needed shadow map resolution in different parts of the scene. We then process the resulting data on the CPU and finally arrive at a hierarchical grid structure, which we traverse in kd-tree fashion, shadowing the scene with shadow map tiles where needed. Shadow quality can be traded for speed through an intuitive parameter, with a homogenous quality reduction in the whole scene, down to normal shadow mapping. This allows the algorithm to be used on a wide range of hardware.

[1]  Michael Wimmer,et al.  Light Space Perspective Shadow Maps , 2004, Rendering Techniques.

[2]  Juhyun Lee,et al.  The irregular Z-buffer: Hardware acceleration for irregular data structures , 2005, TOGS.

[3]  Andrew Lauritzen,et al.  Variance shadow maps , 2006, I3D '06.

[4]  Dinesh Manocha,et al.  Warping and partitioning for low error shadow maps , 2006, EGSR '06.

[5]  Tiow Seng Tan,et al.  Anti-aliasing and Continuity with Trapezoidal Shadow Maps , 2004, Rendering Techniques.

[6]  Tomas Akenine-Möller,et al.  Real-time rendering , 1997 .

[7]  François X. Sillion,et al.  A Survey of Real‐time Soft Shadows Algorithms , 2003, Comput. Graph. Forum.

[8]  Tomas Akenine-Möller,et al.  Real-Time Rendering, Second Edition , 2002 .

[9]  Jukka Arvo,et al.  Tiled shadow maps , 2004, Proceedings Computer Graphics International, 2004..

[10]  Timo Aila,et al.  Alias-Free Shadow Maps , 2004, Rendering Techniques.

[11]  Jeremy D. Wendt,et al.  Eurographics Symposium on Rendering (2004) Real-time Appearance Preserving Out-of-core Rendering with Shadows , 2004 .

[12]  George Drettakis,et al.  Perspective shadow maps , 2002, ACM Trans. Graph..

[13]  David Salesin,et al.  Rendering antialiased shadows with depth maps , 1987, SIGGRAPH.

[14]  Steven Molnar,et al.  Second-Depth Shadow Mapping , 1994 .

[15]  Michael Wimmer,et al.  Queried virtual shadow maps , 2007, SI3D.

[16]  John D. Owens,et al.  Dynamic adaptive shadow maps on graphics hardware , 2005, SIGGRAPH '05.

[17]  Lance Williams,et al.  Casting curved shadows on curved surfaces , 1978, SIGGRAPH.

[18]  Hans-Peter Seidel,et al.  Practical Shadow Mapping , 2002, J. Graphics, GPU, & Game Tools.

[19]  Donald P. Greenberg,et al.  Adaptive shadow maps , 2001, SIGGRAPH.

[20]  Franklin C. Crow,et al.  Shadow algorithms for computer graphics , 1977, SIGGRAPH.