Blender Git Commit Log
Git Commits -> Revision 5ba78d7
Revision 5ba78d7 by Lukas Stockner (master) July 16, 2016, 18:54 (GMT) |
Cycles: Deduplicate geometric factor calculation in the Beckmann distribution Also, this fixes a numerical issue where A would be inf. Since later G is set to 1 if A is larger than 1.6, the code now checks the reciprocal of A for being smaller than 1/1.6 - same effect, but no inf involved. |
Commit Details:
Full Hash: 5ba78d76d4836fa2a8f9d8cef6c448ebd792170f
Parent Commit: a40073f
Lines Changed: +39, -40
1 Modified Path:
/intern/cycles/kernel/closure/bsdf_microfacet.h (+39, -40) (Diff)