diff options
author | Pascal Schoen <pascal_schoen@gmx.net> | 2016-07-26 17:29:21 +0300 |
---|---|---|
committer | Pascal Schoen <pascal_schoen@gmx.net> | 2016-07-26 17:29:21 +0300 |
commit | ece5a08e0d6e51a83c223ea87346134216e5b34e (patch) | |
tree | 5f00a48ee0240e49a38c80a72c41ffdf2659ba4a /intern/cycles/kernel | |
parent | e3aff6849e06853c56da7bd610210dcab70e6070 (diff) |
Base color now applied again to the refraction of transparent Disney
materials
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/svm/svm_closure.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/svm/svm_closure.h b/intern/cycles/kernel/svm/svm_closure.h index 1a84ee7d658..6161bc5d914 100644 --- a/intern/cycles/kernel/svm/svm_closure.h +++ b/intern/cycles/kernel/svm/svm_closure.h @@ -404,7 +404,7 @@ ccl_device void svm_node_closure_bsdf(KernelGlobals *kg, ShaderData *sd, float * #endif /* refraction */ - float3 spec_refr_weight = weight * (1.0f - specular_weight) * (1.0f - fresnel); + float3 spec_refr_weight = baseColor * weight * (1.0f - specular_weight) * (1.0f - fresnel); float spec_refr_sample_weight = fabsf(average(spec_refr_weight)); if (spec_refr_sample_weight > CLOSURE_WEIGHT_CUTOFF) { |