Variable Penumbra Soft Shadows for Mobile Devices

Alun Evans, Javi Agenjo, Josep Blat

2014

Abstract

In many applications of 3D graphics, shadows increase the believability and perceived quality of a scene. With the increase in power of workstation hardware, high-quality soft shadowing has become relatively common in many 3D desktop applications. In parallel, recent years have seen an increase in the availability and use of mobile and tablet based devices. The popularity of such devices is driving an increase in graphics intensive applications targeting the hardware, many of which will naturally require the use of shadowing algorithms. Yet the different architecture of graphics hardware of mobile devices restricts the implementation of many graphics algorithms, particularly those that require multiple references to a texture, such as common shadowing techniques. In this paper, we discuss effective shadowing on mobile devices. We show that even small-kernel Percentage Closer Filtering (PCF) soft shadows provide unacceptable framerates on mobile GPUs, but also how mip-chain dilation of the edges of a shadow map allows improvement performance to acceptable levels. Finally, we extend this technique by quantizing the strength of the detected edge to implement variable penumbra shadowing based on occluder distance.

References

  1. Annen, T., Mertens, T. & Bekaert, P., 2007. Convolution shadow maps. In Proceedings of the 18th Eurographics conference on Rendering Techniques. pp. 51-60.
  2. Annen, T., Mertens, T. & Seidel, H., 2008. Exponential shadow maps. Proceedings of graphics interface 2008, pp.155-161.
  3. Arvo, J., Hirvikorpi, M. & Tyystjarvi, J., 2004. Approximate Soft Shadows win an Image-Space Flood-Fill Algorithm. Computer Graphics Forum, 23(3), pp.271-279.
  4. Bavoil, L., 2008. Advanced soft shadow mapping techniques. In Presentation at the game developers conference GDC08.
  5. Chan, E. & Durand, F., 2003. Rendering fake soft shadows with smoothies. Proceedings of the 14th Eurographics workshop on rendering, pp.208-218.
  6. Crow, F. C., 1977. Shadow algorithms for computer graphics. ACM SIGGRAPH Computer Graphics, 11(2), pp.242-248.
  7. Dmitriev, K. & Uralsky, Y., 2007. Soft shadows using hierarchical min-max shadow maps. In Presentation at the game developers conference GDC07.
  8. Eisemann, E. et al., 2011. Real-Time Shadows, A K Peters/CRC Press.
  9. Engel, W., 2004. ShaderX3: Advanced Rendering with DirectX and OpenGL (Shaderx Series), Charles River Media.
  10. Fernando, R., 2005. Percentage-closer soft shadows. In ACM SIGGRAPH 2005 Sketches on - SIGGRAPH 7805. New York, New York, USA: ACM Press, p. 35.
  11. Hasenfratz, J.-M. et al., 2003. A Survey of Real-time Soft Shadows Algorithms. Computer Graphics Forum, 22(4), pp.753-774.
  12. Lauritzen, A., 2007. Summed-Area Variance Shadow Maps. In GPU Gems 3.
  13. Lili, W., Jingchao, Z. & Zhe, S., 2010. Real-Time approximate soft shadow rendering with bidirectional penumbra map. In 2010 International Conference on Educational and Information Technology. IEEE, pp. 1338-43.
  14. Mamassian, P., Knill, D. C. & Kersten, D., 1998. The perception of cast shadows. Trends in Cognitive Sciences, 2(8), pp.288-295.
  15. Reeves, W. T., Salesin, D. H. & Cook, R. L., 1987. Rendering antialiased shadows with depth maps. ACM SIGGRAPH Computer Graphics, 21(4), pp.283-291.
  16. Sander, P et al., 2005. Computation Culling with Explicit Early-Z and Dynamic Flow Control. In In GPU Shading and Rendering. ACM SIGGRAPH Course 37 Notes.
  17. Scherzer, D., Wimmer, M. & Purgathofer, W., 2011. A Survey of Real-Time Hard Shadow Mapping Methods. Computer Graphics Forum, 30(1), pp.169-186.
  18. Smedberg, N., 2012. Bringing AAA graphics to mobile platforms. In Presentation at the game developers conference GDC12.
  19. Williams, L., 1978. Casting curved shadows on curved surfaces. ACM SIGGRAPH Computer Graphics, 12(3), pp.270-274.
  20. Woo, A. & Poulin, P., 2012. Shadow Algorithms Data Miner, A K Peters/CRC Press.
  21. Wyman, C. & Hansen, C., 2003. Penumbra maps: approximate soft shadows in real-time. In Proceeding EGRW 7803 Proceedings of the 14th Eurographics workshop on Rendering. Eurographics Association, pp. 202-207.
Download


Paper Citation


in Harvard Style

Evans A., Agenjo J. and Blat J. (2014). Variable Penumbra Soft Shadows for Mobile Devices . In Proceedings of the 9th International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2014) ISBN 978-989-758-002-4, pages 181-188. DOI: 10.5220/0004666901810188


in Bibtex Style

@conference{grapp14,
author={Alun Evans and Javi Agenjo and Josep Blat},
title={Variable Penumbra Soft Shadows for Mobile Devices},
booktitle={Proceedings of the 9th International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2014)},
year={2014},
pages={181-188},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004666901810188},
isbn={978-989-758-002-4},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 9th International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2014)
TI - Variable Penumbra Soft Shadows for Mobile Devices
SN - 978-989-758-002-4
AU - Evans A.
AU - Agenjo J.
AU - Blat J.
PY - 2014
SP - 181
EP - 188
DO - 10.5220/0004666901810188