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:
authorBrecht Van Lommel <brecht@blender.org>2022-06-03 16:04:36 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-06-03 16:34:31 +0300
commit074010ad6d0c93da4b22345c1746c3ae2981dff9 (patch)
tree65132ea5ee25ddbc1fbdd4f7d04c6dd200c52a62 /intern/cycles/kernel/integrator
parentcf6c8ae01b66a6260604e35c9c2d63bb06805e4f (diff)
Fix T98570: Cycles AOVs not working in background shader
Must include the AOV writing feature in background shader evaluation. Differential Revision: https://developer.blender.org/D15114
Diffstat (limited to 'intern/cycles/kernel/integrator')
-rw-r--r--intern/cycles/kernel/integrator/shade_background.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/integrator/shade_background.h b/intern/cycles/kernel/integrator/shade_background.h
index 62b3ce1c15c..72ecf67e8a0 100644
--- a/intern/cycles/kernel/integrator/shade_background.h
+++ b/intern/cycles/kernel/integrator/shade_background.h
@@ -48,7 +48,7 @@ ccl_device float3 integrator_eval_background_shader(KernelGlobals kg,
PROFILING_SHADER(emission_sd->object, emission_sd->shader);
PROFILING_EVENT(PROFILING_SHADE_LIGHT_EVAL);
- shader_eval_surface<KERNEL_FEATURE_NODE_MASK_SURFACE_LIGHT>(
+ shader_eval_surface<KERNEL_FEATURE_NODE_MASK_SURFACE_BACKGROUND>(
kg, state, emission_sd, render_buffer, path_flag | PATH_RAY_EMISSION);
L = shader_background_eval(emission_sd);