[Bf-blender-cvs] [3705420a4bf] soc-2022-many-lights-sampling: update splitting threshold socket

Jebbly noreply at git.blender.org
Fri Jun 10 16:32:58 CEST 2022


Commit: 3705420a4bfcc2712e8e2d3d7a045b75d80c6d1b
Author: Jebbly
Date:   Mon May 23 21:11:25 2022 -0400
Branches: soc-2022-many-lights-sampling
https://developer.blender.org/rB3705420a4bfcc2712e8e2d3d7a045b75d80c6d1b

update splitting threshold socket

===================================================================

M	intern/cycles/scene/integrator.cpp

===================================================================

diff --git a/intern/cycles/scene/integrator.cpp b/intern/cycles/scene/integrator.cpp
index 7df74614d93..eb414af0c4c 100644
--- a/intern/cycles/scene/integrator.cpp
+++ b/intern/cycles/scene/integrator.cpp
@@ -84,9 +84,10 @@ NODE_DEFINE(Integrator)
   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);
+
   SOCKET_BOOLEAN(use_light_tree, "Use light tree to optimize many light sampling", false);
-  SOCKET_FLOAT(splitting_threshold, "Splitting threshold (NEED EDITING)", 0.85f);
+  SOCKET_FLOAT(splitting_threshold, "Splitting threshold", 0.85f);
 
   static NodeEnum sampling_pattern_enum;
   sampling_pattern_enum.insert("sobol", SAMPLING_PATTERN_SOBOL);



More information about the Bf-blender-cvs mailing list