render lights based on new metadata