Implemented initial per-vertex lighting calculations.