Blender Git Loki
Git Commits -> Revision 2cdb08f
Revision 2cdb08f by Erik Englesson (gsoc-2018-many-light-sampling, soc-2020-production-ready-light-tree, soc-2020-production-ready-light-tree-2) June 29, 2018, 08:34 (GMT) |
Cycles: Background lights works with light tree Added support for background lights when using the light tree, fixed minor bugs related to disabled lights and trying to build the light tree without any lights. Now samples either the light tree, distant lights or background lights based on their energy. |
Commit Details:
Full Hash: 2cdb08f4ffb3d7d24935d82ba32b1b1100ee2cd6
Parent Commit: 8b24cf8
Lines Changed: +307, -64
11 Modified Paths:
/intern/cycles/kernel/kernel_emission.h (+2, -1) (Diff)
/intern/cycles/kernel/kernel_light.h (+96, -18) (Diff)
/intern/cycles/kernel/kernel_textures.h (+2, -1) (Diff)
/intern/cycles/kernel/kernel_types.h (+12, -2) (Diff)
/intern/cycles/render/light.cpp (+137, -12) (Diff)
/intern/cycles/render/light.h (+13, -0) (Diff)
/intern/cycles/render/light_tree.cpp (+24, -29) (Diff)
/intern/cycles/render/light_tree.h (+10, -1) (Diff)
/intern/cycles/render/scene.cpp (+2, -0) (Diff)
/intern/cycles/render/scene.h (+2, -0) (Diff)
/intern/cycles/util/util_color.h (+7, -0) (Diff)
/intern/cycles/kernel/kernel_light.h (+96, -18) (Diff)
/intern/cycles/kernel/kernel_textures.h (+2, -1) (Diff)
/intern/cycles/kernel/kernel_types.h (+12, -2) (Diff)
/intern/cycles/render/light.cpp (+137, -12) (Diff)
/intern/cycles/render/light.h (+13, -0) (Diff)
/intern/cycles/render/light_tree.cpp (+24, -29) (Diff)
/intern/cycles/render/light_tree.h (+10, -1) (Diff)
/intern/cycles/render/scene.cpp (+2, -0) (Diff)
/intern/cycles/render/scene.h (+2, -0) (Diff)
/intern/cycles/util/util_color.h (+7, -0) (Diff)