Blender Git Loki
Git Commits -> Revision 3437c9c
Revision 3437c9c by Lukas Stockner (master) December 12, 2019, 12:04 (GMT) |
Cycles: perform clamping per light contribution instead of whole path With upcoming light group passes, for them to sum up correctly to the combined pass the clamping must be more fine grained. This also has the advantage that if one light is particularly noisy, it does not diminish the contribution from other lights which do not need as much clamping. Clamp values on existing scenes will need to be tweaked to get similar results, there is no automatic conversion possible which would give the same results as before. Implemented by Lukas, with tweaks by Brecht. Part of D4837 |
Commit Details:
Full Hash: 3437c9c3bf3d16a5ae070226d927a3a329239c8c
Parent Commit: 85b7d39
Committed By: Brecht Van Lommel
Lines Changed: +119, -115
15 Modified Paths:
/intern/cycles/kernel/kernel_accumulate.h (+81, -65) (Diff)
/intern/cycles/kernel/kernel_bake.h (+4, -4) (Diff)
/intern/cycles/kernel/kernel_emission.h (+7, -11) (Diff)
/intern/cycles/kernel/kernel_path.h (+6, -9) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+3, -3) (Diff)
/intern/cycles/kernel/kernel_path_surface.h (+9, -3) (Diff)
/intern/cycles/kernel/kernel_path_volume.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_volume.h (+2, -2) (Diff)
/intern/cycles/kernel/split/kernel_branched.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_buffer_update.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_path_init.h (+1, -2) (Diff)
/intern/cycles/kernel/split/kernel_shadow_blocked_dl.h (+1, -1) (Diff)
/intern/cycles/render/film.cpp (+1, -3) (Diff)
/intern/cycles/render/film.h (+0, -1) (Diff)
/intern/cycles/render/integrator.cpp (+0, -7) (Diff)
/intern/cycles/kernel/kernel_bake.h (+4, -4) (Diff)
/intern/cycles/kernel/kernel_emission.h (+7, -11) (Diff)
/intern/cycles/kernel/kernel_path.h (+6, -9) (Diff)
/intern/cycles/kernel/kernel_path_branched.h (+3, -3) (Diff)
/intern/cycles/kernel/kernel_path_surface.h (+9, -3) (Diff)
/intern/cycles/kernel/kernel_path_volume.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_volume.h (+2, -2) (Diff)
/intern/cycles/kernel/split/kernel_branched.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_buffer_update.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_path_init.h (+1, -2) (Diff)
/intern/cycles/kernel/split/kernel_shadow_blocked_dl.h (+1, -1) (Diff)
/intern/cycles/render/film.cpp (+1, -3) (Diff)
/intern/cycles/render/film.h (+0, -1) (Diff)
/intern/cycles/render/integrator.cpp (+0, -7) (Diff)