3D Graphics
This project focused on implementing shadow mapping. The goal was to render realistic shadows by storing depth information from the light's point of view and using it to determine shadowed regions on screen.
textureProj()
in GLSL for shadow map samplingglPolygonOffset
A key challenge was aligning coordinate spaces correctly. Shadows were initially distorted due to using object space coordinates. Fixing this by converting to world space before applying the shadow matrix significantly improved the result.