[Bf-blender-cvs] [642c0fd] cycles_disney_brdf: fixed an error that was caused by the missing LABEL_REFLECT in the Disney diffuse shader
Pascal Schoen
noreply at git.blender.org
Mon Jul 25 16:14:03 CEST 2016
Commit: 642c0fdad12548c1a2ccbf595bae3a995d3022f7
Author: Pascal Schoen
Date: Mon Jul 25 16:09:55 2016 +0200
Branches: cycles_disney_brdf
https://developer.blender.org/rB642c0fdad12548c1a2ccbf595bae3a995d3022f7
fixed an error that was caused by the missing LABEL_REFLECT in the Disney
diffuse shader
===================================================================
M intern/cycles/kernel/closure/bsdf_disney_diffuse.h
===================================================================
diff --git a/intern/cycles/kernel/closure/bsdf_disney_diffuse.h b/intern/cycles/kernel/closure/bsdf_disney_diffuse.h
index 5bfecc2..463fcf3 100644
--- a/intern/cycles/kernel/closure/bsdf_disney_diffuse.h
+++ b/intern/cycles/kernel/closure/bsdf_disney_diffuse.h
@@ -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
More information about the Bf-blender-cvs
mailing list