adds correct light to material