MStachowicz/Spirit

Shadows

Opened this issue · 0 comments

Implement shadow casting for lights.
Draw the scene from the perspective of the light into a depth texture to be sampled in the PhongRenderer and Phong shader for calculating light contribution.

  • Point light shadows
  • Spotlight shadows
  • Directional light shadows
  • PCF + face culling