normalize lighting logic for perform.on