blender/intern/cycles/kernel/osl
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
..
background.cpp Cycles: Cleanup, indentation 2016-02-03 12:17:39 +01:00
bsdf_diffuse_ramp.cpp Cycles: Cleanup, indentation 2016-02-03 12:17:39 +01:00
bsdf_phong_ramp.cpp Cycles: Cleanup, indentation 2016-02-03 12:17:39 +01:00
CMakeLists.txt Code refactor: add generic Cycles node infrastructure. 2016-05-22 17:29:24 +02:00
emissive.cpp Cycles: Cleanup, indentation 2016-02-03 12:17:39 +01:00
osl_bssrdf.cpp Cycles: Implement approximate reflectance profiles 2016-02-04 13:27:23 +05:00
osl_bssrdf.h Cycles: Implement approximate reflectance profiles 2016-02-04 13:27:23 +05:00
osl_closures.cpp 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
osl_closures.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
osl_globals.h Cycles: Update some types used form OSL 2016-01-07 13:15:30 +05:00
osl_services.cpp Cycles: Fix long compile time with MSVC. 2016-05-20 16:50:29 +02:00
osl_services.h Cleanup: Remove support for OSL versions < 1.6. 2016-02-06 00:07:20 +01:00
osl_shader.cpp 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
osl_shader.h Cycles: Refactor how we pass bounce info to light path node. 2016-01-06 23:43:29 +01:00