Publication Details

Fast robust and precise shadow algorithm for WebGL 1.0 platform

MILET, T.; TÓTH, M.; PEČIVA, J.; STARKA, T.; KOBRTEK, J.; ZEMČÍK, P. Fast robust and precise shadow algorithm for WebGL 1.0 platform. In ICAT-EGVE 2015 - International Conference on Artificial Reality and Telexistence and Eurographics Symposium on Virtual Environments. Kyoto: Eurographics Association, 2015. p. 85-92. ISBN: 978-3-905674-84-2.
Czech title
Rychlé, robustní a přesné stíny pro platformu WebGL 1.0
Type
conference paper
Language
English
Authors
Milet Tomáš, Ing., Ph.D. (DCGM)
Tóth Michal, Ing.
Pečiva Jan, Ing., Ph.D. (DCGM)
Starka Tomáš, Ing. (DCGM)
Kobrtek Jozef, Ing., Ph.D.
Zemčík Pavel, prof. Dr. Ing., dr. h. c. (DCGM)
Keywords

shadow volumes, silhouettes, precise shadows, WebGL, vertex Shader, robust method

Abstract

This paper presents fast and robust per-sample correct WebGL shadow method. It is based on silhouette shadow volumes. Our performance is usually superior when compared with high resolution shadow maps and it does not suffer from visual artefacts. Specially precomputed data are fed to the vertex shaders that extrude shadow volumes.

Annotation

This paper presents fast and robust per-sample correct shadows for WebGL platform. The algorithm is based on silhouette shadow volumes and it rivals the standard shadow mapping performance. Our performance is usually superior when compared with high resolution shadow maps. Moreover, it does not suffer from a number of artefacts of shadow mapping and always provides per-pixel correct results. WebGL 1.0 provides just vertex and fragment shaders. Thus, we put all our algorithms evaluating silhouette edges to vertex shaders. Specially precomputed data are fed to the vertex shaders that extrude shadow volume sides just for silhouette edges. Some optimizations are deployed for performance and data size reasons that are important especially on low performance configurations, such as cost-effective tablets and mobile phones. The paper evaluates our solution on number of models. Our solution performs on par with high resolution omni-directional shadow mapping.

Published
2015
Pages
85–92
Proceedings
ICAT-EGVE 2015 - International Conference on Artificial Reality and Telexistence and Eurographics Symposium on Virtual Environments
ISBN
978-3-905674-84-2
Publisher
Eurographics Association
Place
Kyoto
DOI
EID Scopus
BibTeX
@inproceedings{BUT119892,
  author="Tomáš {Milet} and Michal {Tóth} and Jan {Pečiva} and Tomáš {Starka} and Jozef {Kobrtek} and Pavel {Zemčík}",
  title="Fast robust and precise shadow algorithm for WebGL 1.0 platform",
  booktitle="ICAT-EGVE 2015 - International Conference on Artificial Reality and Telexistence and Eurographics Symposium on Virtual Environments",
  year="2015",
  pages="85--92",
  publisher="Eurographics Association",
  address="Kyoto",
  doi="10.2312/egve.20151314",
  isbn="978-3-905674-84-2",
  url="https://www.fit.vut.cz/research/publication/10946/"
}
Back to top