Merge "Improve the spot shadow computation." into lmp-dev