skip to main content
10.1145/2556700.2556706acmconferencesArticle/Chapter ViewAbstractPublication Pagesi3dConference Proceedingsconference-collections
research-article

Adaptive depth bias for shadow maps

Published:14 March 2014Publication History

ABSTRACT

Shadow aliasing due to limited storage precision has been plaguing discrete shadowing algorithms for decades. We present a simple method to eliminate false self-shadowing through adaptive depth bias. Unlike existing methods which simply set the weight of the bias based on surface slope or utilize the second nearest surface, we evaluate the bound of bias for each fragment and compute the optimal bias within the bound. Our method introduces small overhead, preserves more shadow details than widely used constant bias and slope scale bias and works for common 2D shadow maps as well as 3D binary shadow volumes.

References

  1. Aila, T., and Laine, S. 2004. Alias-free shadow maps. In Proceedings of Eurographics Symposium on Rendering, vol. 2004, 161--166. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Arvo, J. 2007. Alias-free shadow maps using graphics hardware. Journal of Graphics, GPU, and Game Tools 12, 1, 47--59.Google ScholarGoogle ScholarCross RefCross Ref
  3. Brabec, S., Annen, T., and Seidel, H.-P. 2002. Shadow mapping for hemispherical and omnidirectional light sources. In Advances in Modelling, Animation and Rendering. Springer, 397--407.Google ScholarGoogle Scholar
  4. Dai, Q., Yang, B., and Feng, J. 2008. Reconstructable geometry shadow maps. In Proceedings of the 2008 symposium on Interactive 3D graphics and games, ACM, 4. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Dietrich, S. 2001. Practical priority buffer shadows. Game Programming Gems II, 482.Google ScholarGoogle Scholar
  6. Eisemann, E., Schwarz, M., Assarsson, U., and Wimmer, M. 2011. Real-time shadows. AK Peters, Ltd. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Fernando, R., Fernandez, S., Bala, K., and Greenberg, D. P. 2001. Adaptive shadow maps. In Proceedings of the 28th annual conference on Computer graphics and interactive techniques, ACM, 387--390. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Gautron, P., Marvie, J., and Briand, G., 2013. Method for generating shadows in an image, Jan. 23. EP Patent 2,411,967.Google ScholarGoogle Scholar
  9. Gregory S. Johnson, W. R. M., and Burns, C. A. March 2004. The irregular z-buffer and its application to shadow mapping. Tech. rep., University of Texas Department of Computer Sciences Technical Report.Google ScholarGoogle Scholar
  10. King, G. 2004. Shadow mapping algorithms. GPU Jackpot presentation, 354--355.Google ScholarGoogle Scholar
  11. Scherzer, D., Wimmer, M., and Purgathofer, W. 2011. A survey of real-time hard shadow mapping methods. In Computer Graphics Forum, vol. 30, Wiley Online Library, 169--186.Google ScholarGoogle Scholar
  12. Sintorn, E., Eisemann, E., and Assarsson, U. 2008. Sample based visibility for soft shadows using alias-free shadow maps. Computer Graphics Forum (Proceedings of the Eurographics Symposium on Rendering 2008) 27, 4, 1285--1292. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Stamminger, M., and Drettakis, G. 2002. Perspective shadow maps. In ACM Transactions on Graphics (TOG), vol. 21, ACM, 557--562. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Tadamura, K., Qin, X., Jiao, G., and Nakamae, E. 2001. Rendering optimal solar shadows with plural sunlight depth buffers. The Visual Computer 17, 2, 76--90.Google ScholarGoogle ScholarCross RefCross Ref
  15. Wang, Y., and Molnar, S. 1994. Second-depth shadow mapping. UNC-CS Technical Report TR94-019. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Weiskopf, D., and Ertl, T. 2003. Shadow mapping based on dual depth layers. In Proceedings of Eurographics, vol. 3, 53--60.Google ScholarGoogle Scholar
  17. Williams, L. 1978. Casting curved shadows on curved surfaces. In ACM SIGGRAPH Computer Graphics, vol. 12, ACM, 270--274. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Wimmer, M., Scherzer, D., and Purgathofer, W. 2004. Light space perspective shadow maps. In Proceedings of the Fifteenth Eurographics conference on Rendering Techniques, Eurographics Association, 143--151. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Woo, A., Poulin, P., and Fournier, A. 1990. A survey of shadow algorithms. Computer Graphics and Applications, IEEE 10, 6, 13--32. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Woo, A. 1992. The shadow depth map revisited. In Graphics Gems III, Academic Press Professional, Inc., 338--342. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Wyman, C., and Dai, Z. 2013. Imperfect voxelized shadow volumes. In ACM SIGGRAPH 2013 Talks, ACM, New York, NY, USA, SIGGRAPH '13, 18:1--18:1. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Wyman, C. 2011. Voxelized shadow volumes. In Proceedings of the ACM SIGGRAPH Symposium on High Performance Graphics, ACM, 33--40. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Adaptive depth bias for shadow maps

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      I3D '14: Proceedings of the 18th meeting of the ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games
      March 2014
      166 pages
      ISBN:9781450327176
      DOI:10.1145/2556700

      Copyright © 2014 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 14 March 2014

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      Overall Acceptance Rate148of485submissions,31%

      Upcoming Conference

      I3D '24
      Symposium on Interactive 3D Graphics and Games
      May 8 - 10, 2024
      Philadelphia , PA , USA

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader