diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-11-25 20:59:43 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-01-27 16:21:49 +0300 |
commit | 0330741548ce87740f6976d8d2e6519eeb94625e (patch) | |
tree | 662d0f7165318a9a2a8fcf00c4672eac8f136ba4 /intern/cycles/kernel/kernel_types.h | |
parent | 84b18162cf48bfb9a6a16fcad5faaa0c062d64fc (diff) |
Cycles: Add option to replace GI with AO approximation after certain amount of bounces
This is a speed up option which is mainly useful for viewport. Gives nice speedup in
the barbershop scene of 2x when replacing GI with AO after 2nd bounce without loosing
too much details.
Reviewers: brecht
Subscribers: eyecandy, venomgfx
Differential Revision: https://developer.blender.org/D2383
Diffstat (limited to 'intern/cycles/kernel/kernel_types.h')
-rw-r--r-- | intern/cycles/kernel/kernel_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h index b7af90cd739..4d9c4b2e6f1 100644 --- a/intern/cycles/kernel/kernel_types.h +++ b/intern/cycles/kernel/kernel_types.h @@ -1143,6 +1143,8 @@ typedef struct KernelIntegrator { int max_transmission_bounce; int max_volume_bounce; + int ao_bounces; + /* transparent */ int transparent_min_bounce; int transparent_max_bounce; @@ -1185,8 +1187,6 @@ typedef struct KernelIntegrator { int volume_samples; float light_inv_rr_threshold; - - int pad1; } KernelIntegrator; static_assert_align(KernelIntegrator, 16); |