Proceedings: GI 2017

Euclidean Distance Transform Shadow Mapping

Márcio C. F. Macedo (Federal University of Bahia, Brazil), Antônio L. Apolinário Jr. (Federal University of Bahia, Brazil)

Proceedings of Graphics Interface 2017: Edmonton, Alberta, 16-19 May 2017, 171 - 180

DOI 10.20380/GI2017.22

  • BibTex

    author = {Macedo, M{\'a}rcio C. F. and Apolin{\'a}rio, Ant{\^o}nio L.},
    title = {Euclidean Distance Transform Shadow Mapping},
    booktitle = {Proceedings of Graphics Interface 2017},
    series = {GI 2017},
    year = {2017},
    issn = {0713-5424},
    isbn = {978-0-9947868-2-1},
    location = {Edmonton, Alberta},
    pages = {171 -- 180},
    numpages = {10},
    doi = {10.20380/GI2017.22},
    publisher = {Canadian Human-Computer Communications Society / Soci{\'e}t{\'e} canadienne du dialogue humain-machine},
  • Supplementary Media


The high-quality simulation of the penumbra effect in real-time shadows is a challenging problem in shadow mapping. The existing shadow map filtering techniques are prone to aliasing and light leaking artifacts which decrease the shadow visual quality. In this paper, we aim to minimize both problems with the Euclidean distance transform shadow mapping. To reduce the perspective aliasing artifacts generated by shadow mapping, we revectorize the hard shadow boundaries using the revectorization-based shadow mapping. Then, an exact normalized Euclidean distance transform is computed in the user-defined penumbra region to simulate the penumbra effect. Finally, a mean filter is applied to further suppress skeleton artifacts generated by the distance transform. The results obtained show that our technique runs entirely on the GPU, produces less artifacts than related work, and provides real-time performance.