Introduction

Shadows are very important to games since they provide additional depth cues and further enchance the realism. There are two types of shadows:

Hard Shadows,
produced by point light source and characterized by the sharp boundary between the region inside the shadows and the region outside the shadows.

Soft Shadows,
produced by area light source and have a smooth transition from the region
inside the shadow to the region outside the shadow.

The shadows that we see everyday are soft shadows. Therefore, to bring more realism to games, it is better to have soft shadows.

Years of research have brought us to invent shadows algorithm for both hard shadows and soft shadows. Our algorithm for hard shadow is called Trapezoidal Shadow Map (TSM) whereas we utilize Jump Flooding Algorithm (JFA) to generate soft shadows. Below are the links to the papers/project homepages: