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:
authorThomas Dinges <blender@dingto.org>2014-02-11 00:44:49 +0400
committerThomas Dinges <blender@dingto.org>2014-02-11 00:46:02 +0400
commite29a45b396ccf507d858ec4afc301bdaf816b328 (patch)
tree29bdd2ed72f2ef26d4e7300b2bf58ce9282e575b /intern/cycles/render/integrator.h
parente920206a900cf322f3894f13ffeb1568c1bdfd12 (diff)
Cycles: Separation of Indirect and Direct clamping.
Indirect and Direct samples can now be clamped individually. This way we can clamp the indirect samples (fireflies), while keeping the direct highlights. Example render: http://www.pasteall.org/pic/show.php?id=66586 WARNING: This breaks backwards compatibility. If you had Clamping enabled in an old file, you must re-enable either Direct/Indirect clamping or both again. Reviewed by: brecht Differential Revision: https://developer.blender.org/D303
Diffstat (limited to 'intern/cycles/render/integrator.h')
-rw-r--r--intern/cycles/render/integrator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/render/integrator.h b/intern/cycles/render/integrator.h
index cc4a28a4e54..573b258af60 100644
--- a/intern/cycles/render/integrator.h
+++ b/intern/cycles/render/integrator.h
@@ -50,7 +50,8 @@ public:
int seed;
int layer_flag;
- float sample_clamp;
+ float sample_clamp_direct;
+ float sample_clamp_indirect;
bool motion_blur;
int aa_samples;