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
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-04-17 22:36:26 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-04-29 18:39:04 +0300
commit9ef727d3d4e6627efa190fa308d9169da5cca83b (patch)
tree76ac01a0e851b26e61daac5d039e76ab0041f153 /intern
parent0634bb24ee70e77cdc42241e3a237f2ade9ee0e7 (diff)
Cycles: make internal integrator defaults match Blender more closely
This does not affect Blender integration, but gives better defaults for Cycles standalone.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/scene/integrator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/scene/integrator.cpp b/intern/cycles/scene/integrator.cpp
index fd559178073..fda6ecc8d14 100644
--- a/intern/cycles/scene/integrator.cpp
+++ b/intern/cycles/scene/integrator.cpp
@@ -74,17 +74,17 @@ NODE_DEFINE(Integrator)
SOCKET_INT(seed, "Seed", 0);
SOCKET_FLOAT(sample_clamp_direct, "Sample Clamp Direct", 0.0f);
- SOCKET_FLOAT(sample_clamp_indirect, "Sample Clamp Indirect", 0.0f);
+ SOCKET_FLOAT(sample_clamp_indirect, "Sample Clamp Indirect", 10.0f);
SOCKET_BOOLEAN(motion_blur, "Motion Blur", false);
SOCKET_INT(aa_samples, "AA Samples", 0);
SOCKET_INT(start_sample, "Start Sample", 0);
- SOCKET_BOOLEAN(use_adaptive_sampling, "Use Adaptive Sampling", false);
- SOCKET_FLOAT(adaptive_threshold, "Adaptive Threshold", 0.0f);
+ SOCKET_BOOLEAN(use_adaptive_sampling, "Use Adaptive Sampling", true);
+ SOCKET_FLOAT(adaptive_threshold, "Adaptive Threshold", 0.01f);
SOCKET_INT(adaptive_min_samples, "Adaptive Min Samples", 0);
- SOCKET_FLOAT(light_sampling_threshold, "Light Sampling Threshold", 0.05f);
+ SOCKET_FLOAT(light_sampling_threshold, "Light Sampling Threshold", 0.01f);
static NodeEnum sampling_pattern_enum;
sampling_pattern_enum.insert("sobol", SAMPLING_PATTERN_SOBOL);