Welcome to Journal of Graphics share: 

Journal of Graphics ›› 2022, Vol. 43 ›› Issue (3): 478-485.DOI: 10.11996/JG.j.2095-302X.2022030478

• Computer Graphics and Virtual Reality • Previous Articles     Next Articles

Algorithm of rendering shadows with combined use of shadow map and deep partitioned shadow volumes

  

  1. School of Computer Science and Technology, Changchun University of Science and Technology, Changchun Jilin 130022, China
  • Online:2022-06-30 Published:2022-06-28
  • Supported by:
    National Natural Science Foundation of China (U19A2063), Jilin Provincial Development Program of Science and Technology
    (20190302113GX)

Abstract:

The shadow map algorithm can render hard shadows easily and quickly, but the hard shadow rendered by this algorithm will appear aliased in the edge area of the shadows. Affected by this, the soft shadows rendered based on the shadow map algorithm may still appear aliased in the shadow's small penumbra areas. Therefore, to render soft shadows without aliasing, it is necessary to calculate the visibility of shading points at the edge of the shadow from the point light source precisely. While deep partitioned shadow volumes algorithm can accurately calculate the visibility of the shading point to the point light source, they are less efficient than shadow map algorithms and cannot render soft shadows. In response to the above problems, we propose a shadow rendering algorithm that combines a shadow map algorithm with a deep partitioned shadow volumes algorithm. For the shading points in the shadow edge area, the deep partitioned shadow volumes algorithm is used to calculate the visibility of the shaded point to the point light source accurately, for other shading points, we use the shadow map algorithm to calculate the visibility of the shaded point to the point light source quickly. At last, we store the visibility value of the shading point in the visibility map and filter to achieve the rendering of soft shadows without aliasing.

Key words: shadow map algorithm, deep partitioned shadow volumes algorithm, hard shadows, soft shadows, fusion
shadow rendering algorithm

CLC Number: