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:
authorBrecht Van Lommel <brecht@blender.org>2021-04-05 14:53:26 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-04-05 15:05:01 +0300
commit3fa580866ef5514f6fa7f9c5a369249f69135c78 (patch)
treef4facfb67d992766dde87fa0f4bd45a9bff9191d /release
parentedd2f51b4e9143ab112ec297e950d2a561f49968 (diff)
Cycles: update Light Paths preset
* Add Fast GI / AO bounces to presets * Add Default preset matching defaults * Add Fast Approximate GI preset * Lower Full GI depths to 32
Diffstat (limited to 'release')
-rw-r--r--release/scripts/presets/cycles/integrator/Default.py14
-rw-r--r--release/scripts/presets/cycles/integrator/Direct_Light.py3
-rw-r--r--release/scripts/presets/cycles/integrator/Fast_Global_Illumination.py14
-rw-r--r--release/scripts/presets/cycles/integrator/Full_Global_Illumination.py15
-rw-r--r--release/scripts/presets/cycles/integrator/Limited_Global_Illumination.py5
5 files changed, 44 insertions, 7 deletions
diff --git a/release/scripts/presets/cycles/integrator/Default.py b/release/scripts/presets/cycles/integrator/Default.py
new file mode 100644
index 00000000000..726d47e20d7
--- /dev/null
+++ b/release/scripts/presets/cycles/integrator/Default.py
@@ -0,0 +1,14 @@
+import bpy
+cycles = bpy.context.scene.cycles
+
+cycles.max_bounces = 12
+cycles.caustics_reflective = True
+cycles.caustics_refractive = True
+cycles.diffuse_bounces = 4
+cycles.glossy_bounces = 4
+cycles.transmission_bounces = 12
+cycles.volume_bounces = 0
+cycles.transparent_max_bounces = 8
+cycles.use_fast_gi = False
+cycles.ao_bounces = 1
+cycles.ao_bounces_render = 1
diff --git a/release/scripts/presets/cycles/integrator/Direct_Light.py b/release/scripts/presets/cycles/integrator/Direct_Light.py
index 701aa10d556..28f1b218291 100644
--- a/release/scripts/presets/cycles/integrator/Direct_Light.py
+++ b/release/scripts/presets/cycles/integrator/Direct_Light.py
@@ -9,3 +9,6 @@ cycles.glossy_bounces = 1
cycles.transmission_bounces = 2
cycles.volume_bounces = 0
cycles.transparent_max_bounces = 8
+cycles.use_fast_gi = False
+cycles.ao_bounces = 1
+cycles.ao_bounces_render = 1
diff --git a/release/scripts/presets/cycles/integrator/Fast_Global_Illumination.py b/release/scripts/presets/cycles/integrator/Fast_Global_Illumination.py
new file mode 100644
index 00000000000..9f72aa80ee1
--- /dev/null
+++ b/release/scripts/presets/cycles/integrator/Fast_Global_Illumination.py
@@ -0,0 +1,14 @@
+import bpy
+cycles = bpy.context.scene.cycles
+
+cycles.max_bounces = 8
+cycles.caustics_reflective = False
+cycles.caustics_refractive = False
+cycles.diffuse_bounces = 1
+cycles.glossy_bounces = 4
+cycles.transmission_bounces = 8
+cycles.volume_bounces = 2
+cycles.transparent_max_bounces = 8
+cycles.use_fast_gi = True
+cycles.ao_bounces = 2
+cycles.ao_bounces_render = 2
diff --git a/release/scripts/presets/cycles/integrator/Full_Global_Illumination.py b/release/scripts/presets/cycles/integrator/Full_Global_Illumination.py
index a03c6c8bd64..632f5004967 100644
--- a/release/scripts/presets/cycles/integrator/Full_Global_Illumination.py
+++ b/release/scripts/presets/cycles/integrator/Full_Global_Illumination.py
@@ -1,11 +1,14 @@
import bpy
cycles = bpy.context.scene.cycles
-cycles.max_bounces = 128
+cycles.max_bounces = 32
cycles.caustics_reflective = True
cycles.caustics_refractive = True
-cycles.diffuse_bounces = 128
-cycles.glossy_bounces = 128
-cycles.transmission_bounces = 128
-cycles.volume_bounces = 128
-cycles.transparent_max_bounces = 128
+cycles.diffuse_bounces = 32
+cycles.glossy_bounces = 32
+cycles.transmission_bounces = 32
+cycles.volume_bounces = 32
+cycles.transparent_max_bounces = 32
+cycles.use_fast_gi = False
+cycles.ao_bounces = 1
+cycles.ao_bounces_render = 1
diff --git a/release/scripts/presets/cycles/integrator/Limited_Global_Illumination.py b/release/scripts/presets/cycles/integrator/Limited_Global_Illumination.py
index d37bf46c705..e48ffab238e 100644
--- a/release/scripts/presets/cycles/integrator/Limited_Global_Illumination.py
+++ b/release/scripts/presets/cycles/integrator/Limited_Global_Illumination.py
@@ -7,5 +7,8 @@ cycles.caustics_refractive = False
cycles.diffuse_bounces = 1
cycles.glossy_bounces = 4
cycles.transmission_bounces = 8
-cycles.volume_bounces = 2
+cycles.volume_bounces = 0
cycles.transparent_max_bounces = 8
+cycles.use_fast_gi = False
+cycles.ao_bounces = 1
+cycles.ao_bounces_render = 1