Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-11-25 20:59:43 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-01-27 16:21:49 +0300
commit0330741548ce87740f6976d8d2e6519eeb94625e (patch)
tree662d0f7165318a9a2a8fcf00c4672eac8f136ba4 /intern/cycles/render/integrator.h
parent84b18162cf48bfb9a6a16fcad5faaa0c062d64fc (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/render/integrator.h')
-rw-r--r--intern/cycles/render/integrator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/render/integrator.h b/intern/cycles/render/integrator.h
index 17fdd0ef1db..f8cc0507ada 100644
--- a/intern/cycles/render/integrator.h
+++ b/intern/cycles/render/integrator.h
@@ -43,6 +43,8 @@ public:
int transparent_max_bounce;
bool transparent_shadows;
+ int ao_bounces;
+
int volume_max_steps;
float volume_step_size;