Skip to content

A C++ Graphic model to simulate realistic soft shadows by calculating the Penumbra wedges from a light source

Notifications You must be signed in to change notification settings

Charan000/SoftShadowVolumes

Repository files navigation

Soft Shadow Mapping Graphics Model

  • Developed a graphics Model in C++ by that produces real time soft shadows by doing appropriate lighting calculations, even with multiple light sources, and the technique is based on the following research : Forest, Vincent & Barthe, Loïc & Paulin, Mathias. (2006). Realistic soft shadows by penumbra-wedges blending. In Graph. Hardw. 39-46. 10.1145/1283900.1283907.
  • Soft shadows are the ones we see in real life where they have both umbra (sharp, homogeneous and dark) and penumbra (blurred parts around the edges where some amount of light enters) regions because of area and volume light sources, whereas normal shadows in the context of computer graphics only have the umbra regions assuming only point light sources exist.
  • The lighting calculations involved getting depth data and storing it in a ZTexture from the light source point of view, so that the umbra and penumbra regions can be differentiated. The coloring of penumbra region was done by non-linear alpha blending.
  • Used the Direct3D, techniques of Shader programming for rendering the output.

Refer the Report for additional details.

Your image title

Your image title

About

A C++ Graphic model to simulate realistic soft shadows by calculating the Penumbra wedges from a light source

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published