diff options
author | Pascal Schoen <pascal.schoen@adidas-group.com> | 2017-05-31 08:29:17 +0300 |
---|---|---|
committer | Pascal Schoen <pascal.schoen@adidas-group.com> | 2017-05-31 08:29:17 +0300 |
commit | c91d2d30dfc1000f9cdffa9a49eb29b43458d39a (patch) | |
tree | 666cde2f4f953ee3a71efd55fecc56d9fc3c1d3c /intern/cycles/kernel/osl/osl_bssrdf.cpp | |
parent | 2cd7b80cae671baa6552dedd980ba131517605e8 (diff) |
Improve backscatter color of subsurface scattering in Principled BSDF
Differential Revision: https://developer.blender.org/D2685
Diffstat (limited to 'intern/cycles/kernel/osl/osl_bssrdf.cpp')
-rw-r--r-- | intern/cycles/kernel/osl/osl_bssrdf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/osl/osl_bssrdf.cpp b/intern/cycles/kernel/osl/osl_bssrdf.cpp index 188c3960a5f..27a96720c1e 100644 --- a/intern/cycles/kernel/osl/osl_bssrdf.cpp +++ b/intern/cycles/kernel/osl/osl_bssrdf.cpp @@ -191,7 +191,7 @@ class PrincipledBSSRDFClosure : public CBSSRDFClosure { public: void setup(ShaderData *sd, int path_flag, float3 weight) { - alloc(sd, path_flag, weight * albedo, CLOSURE_BSSRDF_PRINCIPLED_ID); + alloc(sd, path_flag, weight, CLOSURE_BSSRDF_PRINCIPLED_ID); } }; |