Opengl realtime shadow mapping

preview_player
Показать описание
Shadow mapping implementation in Opengl
A 512x512 depth texture is used and drawn from the point of view of the lamp going around the shapes.
A few simple methods are used to give more or less smooth shadow.
The PCF matrix is more or less an average convolution matrix (with probabilities involved), it smoothes the shadows but require lots of memory lookup from the shader.

Рекомендации по теме