Automatic ambient uniforms work correctly.

Still, automatic uniforms are yet to be implemented for other types of
light.