摘要
提出一种基于自适应光源采样的软阴影高效逼真绘制方法。首先,通过对面光源的部分区域进行规则采样生成多张阴影图,再将阴影图重投影到视点下,在屏幕空间根据比较生成的阴影差值来判断是否需要进一步细分光源采样点,从而实现自适应的逐层采样,避免生成对软阴影质量没有贡献的阴影图,在保持软阴影逼真绘制的同时,较好地提高绘制效率。
An efficient high-quality soft shadow rendering method based on adaptive light source sampling is proposed.First,multiple shadow maps are generated by regular sampling of some areas of the surface light source,and then the shadow maps are re-projected to the viewpoint.The shadow difference value in image space is used to determine if it is necessary to further subdivide light source sampling points,so as to realize adaptive layer-by-layer sampling and avoid generating shadow maps that do not contribute to soft shadow quality.The proposed algorithm can not only keep the soft shadow realistic,but also improve the rendering efficiency.
作者
马志强
孙艳丽
MA Zhi-qiang;SUN Yan-li(Academy of Electronic and Information Technology of CETC, Beijing 100041, China)
出处
《电光与控制》
CSCD
北大核心
2019年第11期99-104,共6页
Electronics Optics & Control
关键词
阴影图
自适应光源采样
软阴影
逼真绘制
shadow map
adaptive light source sampling
soft shadow
high-quality rendering