Fix T93498: Cycles fast GI add method affected by bounces settings
This is only for the replace method.
This commit is contained in:
parent
e83df74008
commit
dc7ff75ef8
Notes:
blender-bot
2023-02-14 05:53:38 +01:00
Referenced by issue #93498, When render with Cycles' Fast GI Approximation, Method "Add" is affected by bounces in Method "Replace". Referenced by issue #93479, 3.0 Potential candidates for corrective releases
|
@ -168,7 +168,7 @@ void Integrator::device_update(Device *device, DeviceScene *dscene, Scene *scene
|
|||
kintegrator->transparent_min_bounce = transparent_min_bounce + 1;
|
||||
kintegrator->transparent_max_bounce = transparent_max_bounce + 1;
|
||||
|
||||
kintegrator->ao_bounces = ao_bounces;
|
||||
kintegrator->ao_bounces = (ao_factor != 0.0f) ? ao_bounces : 0;
|
||||
kintegrator->ao_bounces_distance = ao_distance;
|
||||
kintegrator->ao_bounces_factor = ao_factor;
|
||||
kintegrator->ao_additive_factor = ao_additive_factor;
|
||||
|
|
Loading…
Reference in New Issue