Efficient Shadows from Sampled Environment Maps
Efficient Shadows from Sampled Environment Maps
复制标题
来自采样环境贴图的高效阴影
DOI:
--
复制
发表时间:
2004
期刊:
影响因子:
--
通讯作者:
Maneesh Agrawala
中科院分区:
文献类型:
--
作者:
A. Ben;R. Ramamoorthi;Maneesh Agrawala
This paper addresses the problem of efficiently calculating shadows from environment maps. Since accurate rendering of shadows from environment maps requires hundreds of lights, the expensive computation is determining visibility from each pixel to each light direction, such as by ray-tracing. We show that coherence in both spatial and angular domains can be used to reduce the number of shadow rays that need to be traced. Specifically, we use a coarse-to-fine evaluation of the image, predicting visibility by reusing visibility calculations from four nearby pixels that have already been evaluated. This simple method allows us to explicitly mark regions of uncertainty in the prediction. By only tracing rays in these and neighboring directions, we are able to reduce the number of shadow rays traced by up to a factor of 20 while maintaining error rates below 0.01%. For many scenes, our algorithm can add shadowing from hundreds of lights at twice the cost of rendering without shadows.