fixed an error that was caused by the missing LABEL_REFLECT in the Disney

diffuse shader
This commit is contained in:
2016-07-25 16:09:55 +02:00
parent c10b484dca
commit 642c0fdad1

View File

@@ -117,7 +117,7 @@ ccl_device int bsdf_disney_diffuse_sample(const ShaderClosure *sc,
else {
*pdf = 0;
}
return LABEL_DIFFUSE;
return LABEL_REFLECT|LABEL_DIFFUSE;
}
CCL_NAMESPACE_END