Blender Git Loki
Git Commits -> Revision d9281a6
Revision d9281a6 by Lukas Stockner (master) July 16, 2016, 18:54 (GMT) |
Cycles: Fix three numerical issues in the fresnel, normal map and Beckmann code - In fresnel_dielectric, the differentials calculation sometimes divided by zero. - When the normal map was (0.5, 0.5, 0.5), the code would try to normalize a zero vector. Now, it just uses the regular normal as a fallback. - The approximate error function used in Beckmann sampling sometimes overflowed to inf while calculating r^16. The final value is 1 - 1/r^16, however, so now it just returns 1 if the computation would overflow otherwise. |
Commit Details:
Full Hash: d9281a6332d2273356e0d3d042d64157fb7d06c8
Parent Commit: 5ba78d7
Lines Changed: +11, -4