Remember vertex groups (objects) and their material in order to identify light sources.