afd629bffc
Draine phase function sampling internally use Henyey-Greenstein and Rayleigh sampling for degenerated cases, but the sampling pattern was different between Draine and Rayleigh. The commit effectively replace `rand` with `1 - rand` in Rayleigh sampling. Pull Request: https://projects.blender.org/blender/blender/pulls/129261