Fix T46492: GGX distribution produces black pixels
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 17 Jun 2016 14:30:29 +0000 (16:30 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 17 Jun 2016 14:30:29 +0000 (16:30 +0200)
commit7ac126e728a5b395a00bee6b7f657a843970492b
tree94734987a26b1e870db7fd60b47d8776a4de1fd6
parentbcde045b32af9fcbb68ea616da5c6a4df81f7582
Fix T46492: GGX distribution produces black pixels

The issue was caused by some numerical instability.
intern/cycles/kernel/closure/bsdf_microfacet.h