blender/intern/cycles/kernel/closure
Lukas Stockner 23c276832b Cycles: Add multi-scattering, energy-conserving GGX as an option to the Glossy, Anisotropic and Glass BSDFs
This commit adds a new distribution to the Glossy, Anisotropic and Glass BSDFs that implements the
multiple-scattering microfacet model described in the paper "Multiple-Scattering Microfacet BSDFs with the Smith Model".

Essentially, the improvement is that unlike classical GGX, which only models single scattering and assumes
the contribution of multiple bounces to be zero, this new model performs a random walk on the microsurface until
the ray leaves it again, which ensures perfect energy conservation.

In practise, this means that the "darkening problem" - GGX materials becoming darker with increasing
roughness - is solved in a physically correct and efficient way.

The downside of this model is that it has no (known) analytic expression for evalation. However, it can be
evaluated stochastically, and although the correct PDF isn't known either, the properties of MIS and the
balance heuristic guarantee an unbiased result at the cost of slightly higher noise.

Reviewers: dingto, #cycles, brecht

Reviewed By: dingto, #cycles, brecht

Subscribers: bliblubli, ace_dragon, gregzaal, brecht, harvester, dingto, marcog, swerner, jtheninja, Blendify, nutel

Differential Revision: https://developer.blender.org/D2002
2016-06-23 22:57:26 +02:00
..
bsdf_ashikhmin_shirley.h Cleanup: Code style. 2015-04-26 00:42:26 +02:00
bsdf_ashikhmin_velvet.h Cleanup: Code style. 2015-04-26 00:42:26 +02:00
bsdf_diffuse_ramp.h Fix T43926: Volume scatter: intersecting objects GPU rendering artifacts 2015-03-23 12:48:33 +05:00
bsdf_diffuse.h Fix T44123: Cycles SSS renders black in recent builds 2015-03-25 02:33:49 +05:00
bsdf_hair.h Cleanup for Cycles hair shader ifdefs. 2015-02-18 15:57:39 +01:00
bsdf_microfacet_multi_impl.h Cycles: Add multi-scattering, energy-conserving GGX as an option to the Glossy, Anisotropic and Glass BSDFs 2016-06-23 22:57:26 +02:00
bsdf_microfacet_multi.h Cycles: Add multi-scattering, energy-conserving GGX as an option to the Glossy, Anisotropic and Glass BSDFs 2016-06-23 22:57:26 +02:00
bsdf_microfacet.h Fix T46492: GGX distribution produces black pixels 2016-06-17 16:30:29 +02:00
bsdf_oren_nayar.h Cycles: Use native saturate function for CUDA 2015-04-28 00:38:32 +05:00
bsdf_phong_ramp.h Fix T43926: Volume scatter: intersecting objects GPU rendering artifacts 2015-03-23 12:48:33 +05:00
bsdf_reflection.h Fix T44123: Cycles SSS renders black in recent builds 2015-03-25 02:33:49 +05:00
bsdf_refraction.h Fix T44123: Cycles SSS renders black in recent builds 2015-03-25 02:33:49 +05:00
bsdf_toon.h Cycles: Use native saturate function for CUDA 2015-04-28 00:38:32 +05:00
bsdf_transparent.h Fix T44123: Cycles SSS renders black in recent builds 2015-03-25 02:33:49 +05:00
bsdf_util.h Cycles: Add multi-scattering, energy-conserving GGX as an option to the Glossy, Anisotropic and Glass BSDFs 2016-06-23 22:57:26 +02:00
bsdf.h Cycles: Add multi-scattering, energy-conserving GGX as an option to the Glossy, Anisotropic and Glass BSDFs 2016-06-23 22:57:26 +02:00
bssrdf.h Cycles: Minor cleanup, whitespace around keyword and preprocessor indent 2016-04-13 08:58:52 +02:00
emissive.h Cycles: change __device and similar qualifiers to ccl_device in kernel code. 2013-11-18 08:48:15 +01:00
volume.h Cycles: Simplify volume_phase_eval(). 2015-06-11 15:18:33 +02:00