Added the capability to use ambient lighting.