Refactor getShadowmapReference.
Move common shader functions to a separate file.
Switch to Blinn-Phong lighting model.