In case massive lighting is a topic in the future, we should switch to buffer objects or any other kind of OpenGL supported array objects to hand-in the lighting uniforms, and then iterate over a certain number of light sources (may also be set as a uniform) in the shaders. But for now, the code is fine for two light sources.