Things to clarify here:
A minor thing: I found a foo RayLeighPhaseFunction. Since it is currently used as a constant function, then I think it should be the one returning 0.079577472f instead of 1.0f. Just for readability.
In the future it would be nice to have other phase fuctions too. In the future.
Anonymous