Expand description
Computes the refraction direction given an incident direction, a surface normal, and the ratio of indices of refraction (incident and transmitted).
Computes the refraction direction given an incident direction, a surface normal, and the ratio of indices of refraction (incident and transmitted).