diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-08-26 20:05:20 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-08-26 20:26:38 +0300 |
commit | 0498feb0dfc221fb7fb060728e2fd0be6d8085b4 (patch) | |
tree | 447780c36a87d4dfd73247435f1ffbc1368102fd /intern/cycles/kernel | |
parent | bd678918aefc58f1a9c0c807755010b7282e1be9 (diff) |
Fix T80129: Cycles shadow catcher viewport error with exposure other than 1
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/kernel_film.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_film.h b/intern/cycles/kernel/kernel_film.h index 8344f4b4f47..17b69b6198b 100644 --- a/intern/cycles/kernel/kernel_film.h +++ b/intern/cycles/kernel/kernel_film.h @@ -47,7 +47,7 @@ ccl_device float4 film_get_pass_result(KernelGlobals *kg, if (kernel_data.film.use_display_exposure) { float exposure = kernel_data.film.exposure; - pass_result *= make_float4(exposure, exposure, exposure, alpha); + pass_result *= make_float4(exposure, exposure, exposure, 1.0f); } } else if (display_pass_components == 1) { |