Merge "Switch to cos interpolation of shadow alpha" into lmp-dev