I started this project to learn rendering techniques and to be familiar with shaders programming using GLSL.
Developped in C++ with OpenGL, the code can compile on Windows, Mac and Linux.
The engine use phong shading and it’s possible to add multiple point lights, spot lights and directional lights.
On the following video there is a red point light, a green spotlight and a white directional light.
The implementation of a Cascade Shadow Mapping
is in progress.
We can notice three areas in the video:
- The red area which is the nearest from the camera with the most accurate shadow
- The green area in the middle which have less accurate shadow
- The blue area which is the farthest and thus the lowest shadow quality