Lightning is a crucial factor for making our Graphics realistic. Luckily OpenGL lightning model is easy to implement. For this project, i created a scene consists of 625 boxes on a flat plane. With the help of FPS Camera you can spectate in the scene and by turning the lightning on or off, the effect of spotlight can easily observed.
fatihkeskin / opengl-shading-and-lighting Goto Github PK
View Code? Open in Web Editor NEWA fully lit scene with Phong shading, materials, lighting maps.