Journal of Jilin University Science Edition

Previous Articles     Next Articles

An Improved Algorithm of Shadow Mapping

CAO Jiale, FENG Yueping   

  1. College of Computer Science and Technology, Jilin University, Changchun 130012, China
  • Received:2016-11-01 Online:2018-01-26 Published:2018-01-24
  • Contact: FENG Yueping E-mail:fengyp@jlu.edu.cn

Abstract: We used two types of depth textures called dynamic depth texture and static depth texture to improve traditional shadow mapping method. When rendering complex scenes, the static depth texture was applied to the static objects, and the dynamic depth texture was applied to the moving objects. The minimum value of two depth textures was compared with the current depth when calculated shadows. The method required real\|time monitoring of the motion and static states of the objects in the rendering process, and recording depth information of different states of objects into different kinds of depth textures. The experimental results show that this method improves the rendering speed obviously in a complex scene, thus improving the fluency of virtual reality scene rendering.

Key words: depth texture, shadow mapping, shadow rendering

CLC Number: 

  • TP391.9