Day 9 : Lighting upgrade
Tonight, I added the most common lighting model in video game based which is:
Color = Emissive + Ambient + Diffuse + Specular. This article is the best resource I found to describe it. Now that the rendered output is correct, I will try to clean and optimize it.
Lighting major upgrade
(click on the shader box title to see the code )