Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/kernel/svm/bsdf_transparent.h')
-rw-r--r--intern/cycles/kernel/svm/bsdf_transparent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/svm/bsdf_transparent.h b/intern/cycles/kernel/svm/bsdf_transparent.h
index 30288bf251d..1674f04955e 100644
--- a/intern/cycles/kernel/svm/bsdf_transparent.h
+++ b/intern/cycles/kernel/svm/bsdf_transparent.h
@@ -70,7 +70,7 @@ __device int bsdf_transparent_sample(const ShaderData *sd, float randu, float ra
#endif
*pdf = 1;
*eval = make_float3(1, 1, 1);
- return LABEL_TRANSMIT|LABEL_STRAIGHT;
+ return LABEL_TRANSMIT|LABEL_TRANSPARENT;
}
CCL_NAMESPACE_END