Fix T50937: baking with OpenCL and CPU have slightly different brightness

OpenCL baking with SSS and Volume are not supported.
This commit is contained in:
Hristo Gueorguiev
2017-05-16 12:15:11 +02:00
parent 24676b535a
commit 40e6f65ea1
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@
CCL_NAMESPACE_BEGIN
#if defined(__BRANCHED_PATH__) || defined(__SUBSURFACE__) || defined(__SHADOW_TRICKS__)
#if defined(__BRANCHED_PATH__) || defined(__SUBSURFACE__) || defined(__SHADOW_TRICKS__) || defined(__BAKING__)
/* branched path tracing: connect path directly to position on one or more lights and add it to L */
ccl_device_noinline void kernel_branched_path_surface_connect_light(
KernelGlobals *kg,