I made a new implementation for ambient lighting, based on vertex colors. Visually there is no difference, but it should be faster.