diff options
author | Thomas Dinges <blender@dingto.org> | 2014-02-11 00:44:49 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-02-11 00:46:02 +0400 |
commit | e29a45b396ccf507d858ec4afc301bdaf816b328 (patch) | |
tree | 29bdd2ed72f2ef26d4e7300b2bf58ce9282e575b /intern/cycles/app/cycles_xml.cpp | |
parent | e920206a900cf322f3894f13ffeb1568c1bdfd12 (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/app/cycles_xml.cpp')
-rw-r--r-- | intern/cycles/app/cycles_xml.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp index 3c8e4847270..efd7e5ec66e 100644 --- a/intern/cycles/app/cycles_xml.cpp +++ b/intern/cycles/app/cycles_xml.cpp @@ -276,7 +276,8 @@ static void xml_read_integrator(const XMLReadState& state, pugi::xml_node node) xml_read_float(&integrator->filter_glossy, node, "filter_glossy"); xml_read_int(&integrator->seed, node, "seed"); - xml_read_float(&integrator->sample_clamp, node, "sample_clamp"); + xml_read_float(&integrator->sample_clamp_direct, node, "sample_clamp_direct"); + xml_read_float(&integrator->sample_clamp_indirect, node, "sample_clamp_indirect"); } /* Camera */ |