November 30, 2018
Lights
It's time that we enhance our render pipeline by supporting lights! We collect lighting data and send it to the GPU, where we perform simple diffuse lighting for directional, point, and spotlights. We do that using single-pass forward rendering, so at most one draw call per object, no matter how many lights affect them.
