Fix T80129: Cycles shadow catcher viewport error with exposure other than 1
This commit is contained in:
parent
bd678918ae
commit
0498feb0df
Notes:
blender-bot
2023-02-14 11:21:43 +01:00
Referenced by issue #80129, Cycles - Shadow catcher error in viewport rendering when Exposure value is different than 1.00
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue