Lighting with raylib

Initially I wasn’t going to release this until I could find someone to go over the shader calculations, but while they are probably not “correct” it certainly works… so…. Lets look how we can implement some simple lighting using a shader. As well as code for the above example, I’ve also taken the time to…

Categorised as raylib