skip to main content
article

A geometry-based soft shadow volume algorithm using graphics hardware

Published:01 July 2003Publication History
Skip Abstract Section

Abstract

Most previous soft shadow algorithms have either suffered from aliasing, been too slow, or could only use a limited set of shadow casters and/or receivers. Therefore, we present a strengthened soft shadow volume algorithm that deals with these problems. Our critical improvements include robust penumbra wedge construction, geometry-based visibility computation, and also simplified computation through a four-dimensional texture lookup. This enables us to implement the algorithm using programmable graphics hardware, and it results in images that most often are indistinguishable from images created as the average of 1024 hard shadow images. Furthermore, our algorithm can use both arbitrary shadow casters and receivers. Also, one version of our algorithm completely avoids sampling artifacts which is rare for soft shadow algorithms. As a bonus, the four-dimensional texture lookup allows for small textured light sources, and, even video textures can be used as light sources. Our algorithm has been implemented in pure software, and also using the GeForce FX emulator with pixel shaders. Our software implementation renders soft shadows at 0.5--5 frames per second for the images in this paper. With actual hardware, we expect that our algorithm will render soft shadows in real time. An important performance measure is bandwidth usage. For the same image quality, an algorithm using the accumulated hard shadow images uses almost two orders of magnitude more bandwidth than our algorithm.

Skip Supplemental Material Section

Supplemental Material

assarsson_ageometry.mp4

mp4

33.2 MB

References

  1. AGRAWALA, M., RAMAMOORTHI, R., HEIRICH, A., AND MOLL, L. 2000. Efficient Image-Based Methods for Rendering Soft Shadows. In Proceedings of ACM SIGGRAPH 2000, ACM Press/ACM SIGGRAPH, New York. K. Akeley, Ed., Computer Graphics Proceedings, Annual Conference Series, ACM, 375--384. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. AKENINE-MÖLLER, T., AND ASSARSSON, U. 2002. Approximate Soft Shadows on Arbitrary Surfaces using Penumbra Wedges. In 13th Euro-graphics Workshop on Rendering, Eurographics, 309--318. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. ASSARSSON, U., AND AKENINE-MÖLLER, T. 2003. Interactive Rendering of Soft Shadows using an Optimized and Generalized Penumbra Wedge Algorithm. submitted to the Visual Computer.Google ScholarGoogle Scholar
  4. BERGERON, P. 1986. A General Version of Crow's Shadow Volumes. IEEE Computer Graphics and Applications 6, 9 (September), 17--28.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. BRABEC, S., AND SEIDEL, H.-P. 2002. Single Sample Soft Shadows using Depth Maps. In Graphics Interface 2002, 219--228.Google ScholarGoogle Scholar
  6. BROTMAN, L. S., AND BADLER, N. I. 1984. Generating Soft Shadows with a Depth Buffer Algorithm. IEEE Computer Graphics and Applications 4, 10 (October), 5--12.Google ScholarGoogle ScholarCross RefCross Ref
  7. COHEN, M. F., AND WALLACE, J. R. 1993. Radiosity and Realistic Image Synthesis. Academic Press Professional. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. CROW, F. 1977. Shadow Algorithms for Computer Graphics. In Computer Graphics (Proceedings of ACM SIGGRAPH 77), ACM, 242--248. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. DRETTAKIS, G., AND FIUME, E. 1994. A Fast Shadow Algorithm for Area Light Sources Using Back Projection. In Proceedings of ACM SIGGRAPH 94, ACM Press/ACM SIGGRAPH, New York. A. Glassner, Ed., Computer Graphics Proceedings, Annual Conference Series, ACM, 223--230. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. EVERITT, C., AND KILGARD, M. 2002. Practical and Robust Stenciled Shadow Volumes for Hardware-Accelerated Rendering. http://developer.nvidia.com/.Google ScholarGoogle Scholar
  11. FERNANDO, R., FERNANDEZ, S., BALA, K., AND GREENBERG, D. P. 2001. Adaptive Shadow Maps. In Proceedings of ACM SIGGRAPH 2001, ACM Press/ACM SIGGRAPH, New York. E. Fiume, Ed., Computer Graphics Proceedings, Annual Conference Series, ACM, 387--390. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. HAINES, E., AND MÖLLER, T. 2001. Real-Time Shadows. In Game Developers Conference, CMP, 335--352.Google ScholarGoogle Scholar
  13. HAINES, E. 2001. Soft Planar Shadows Using Plateaus. Journal of Graphics Tools 6, 1, 19--27. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. HART, D., DUTRÉ, P., AND GREENBERG, D. P. 1999. Direct Illumination with Lazy Visbility Evaluation. In Proceedings of ACM SIGGRAPH 99, ACM Press/ACM SIGGRAPH, New York. A. Rockwood, Ed., Computer Graphics Proceedings, Annual Conference Series, ACM, 147--154. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. HECKBERT, P., AND HERF, M. 1997. Simulating Soft Shadows with Graphics Hardware. Tech. rep., Carnegie Mellon University, CMU-CS-97-104, January.Google ScholarGoogle Scholar
  16. HEIDMANN, T. 1991. Real Shadows, Real Time. Iris Universe, 18 (November), 23--31.Google ScholarGoogle Scholar
  17. HEIDRICH, W., BRABEC, S., AND SEIDEL, H.-P. 2000. Soft Shadow Maps for Linear Lights. In 11th Eurographics Workshop on Rendering, Eurographics, 269--280. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. KAUTZ, J., AND MCCOOL, M. D. 1999. Interactive Rendering with Arbitrary BRDFs using Separable Approximations. In 10th Eurographics Workshop on Rendering, Eurographics, 281--292. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. MARKOSIAN, L., KOWALSKI, M. A., TRYCHIN, S. J., BOURDEV, L. D., GOLDSTEIN, D., AND HUGHES, J. F. 1997. Real-Time Nonphotorealistic Rendering. In Proceedings of ACM SIGGRAPH 97, ACM Press/ACM SIGGRAPH, New York. T. Whitted, Ed., Computer Graphics Proceedings, Annual Conference Series, ACM, 415--420. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. PARKER, S., SHIRLEY, P., AND SMITS, B. 1998. Single Sample Soft Shadows. Tech. rep., University of Utah, UUCS-98-019, October.Google ScholarGoogle Scholar
  21. REEVES, W. T., SALESIN, D. H., AND COOK, R. L. 1987. Rendering Antialiased Shadows with Depth Maps. In Computer Graphics (Proceedings of ACM SIGGRAPH 87), ACM, 283--291. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. SEGAL, M., KOROBKIN, C., VAN WIDENFELT, R., FORAN, J., AND HAEBERLI, P. 1992. Fast Shadows and Lighting Effects Using Texture Mapping. In Computer Graphics (Proceedings of ACM SIGGRAPH 92), ACM, 249--252. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. SLOAN, P.-P., KAUTZ, J., AND SNYDER, J. 2002. Precomputed Radiance Transfer for Real-Time Rendering in Dynamic, Low-Frequency Lighting Environments. ACM Transactions on Graphics 21, 3 (July), 527--536. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. SOLER, C., AND SILLION, F. X. 1998. Fast Calculation of Soft Shadow Textures Using Convolution. In Proceedings of ACM SIGGRAPH 98, ACM Press/ACM SIGGRAPH, New York. M. Cohen, Ed., Computer Graphics Proceedings, Annual Conference Series, ACM, 321--332. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. STAMMINGER, M., AND DRETTAKIS, G. 2002. Perspective Shadow Maps. ACM Transactions on Graphics 21, 3 (July), 557--562. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. WILLIAMS, L. 1978. Casting Curved Shadows on Curved Surfaces. In Computer Graphics (Proceedings of ACM SIGGRAPH 92), ACM, 270--274. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. WOO, A., POULIN, P., AND FOURNIER, A. 1990. A Survey of Shadow Algorithms. IEEE Computer Graphics and Applications 10, 6 (November), 13--32. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A geometry-based soft shadow volume algorithm using graphics hardware

    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

    Full Access

    • Published in

      cover image ACM Transactions on Graphics
      ACM Transactions on Graphics  Volume 22, Issue 3
      July 2003
      683 pages
      ISSN:0730-0301
      EISSN:1557-7368
      DOI:10.1145/882262
      Issue’s Table of Contents

      Copyright © 2003 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: 1 July 2003
      Published in tog Volume 22, Issue 3

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • article

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader