Base color now applied again to the refraction of transparent Disney

materials
This commit is contained in:
2016-07-26 16:29:21 +02:00
parent e3aff6849e
commit ece5a08e0d

View File

@@ -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) {