blender/intern/cycles
Brecht Van Lommel 3d847ed6e6 Fix #36064: cycles direct/indirect light passes with materials that have zero
RGB color components gave non-grey results when you might no expect it.

What happens is that some of the color channels are zero in the direct light
pass because their channel is zero in the color pass. The direct light pass is
defined as lighting divided by the color pass, and we can't divide by zero. We
do a division after all samples are added together to ensure that multiplication
in the compositor gives the exact combined pass even with antialiasing, DoF, ..

Found a simple tweak here, instead of setting such channels to zero it will set
it to the average of other non-zero color channels, which makes the results look
like the expected grey.
2013-07-08 23:31:45 +00:00
..
app Cycles Test App: 2013-01-17 22:51:54 +00:00
blender Fix #35969: blender internal and cycles not updating mesh while in edit mode. 2013-07-08 22:41:14 +00:00
bvh Cycles: attempt to fix internal compile error with some visual studio builds 2013-06-18 13:19:16 +00:00
cmake Cycles / CMake: 2012-11-09 18:31:04 +00:00
device Code cleanup: cycles 2013-06-26 23:29:33 +00:00
doc edits to cycles cmake files so cmake_consistency_check.py can parse them. 2011-11-08 20:27:37 +00:00
kernel Fix #35896: cycles crash with OSL image textures and viewport + preview render 2013-06-28 13:05:21 +00:00
render Fix #36064: cycles direct/indirect light passes with materials that have zero 2013-07-08 23:31:45 +00:00
subd Cycles: 2013-06-04 17:20:00 +00:00
util Fix #36064: cycles direct/indirect light passes with materials that have zero 2013-07-08 23:31:45 +00:00
CMakeLists.txt Arrempt to fix Cycles compilation with Clang 2013-07-07 18:29:57 +00:00
SConscript Cycles: optimized SSE BVH traversal now also works with SSE2 CPUs, so all the 2013-06-19 17:54:26 +00:00