mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue