blender/intern/cycles/render
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
..
attribute.cpp Code cleanup / Cycles / Object Attributes: 2013-04-05 17:03:59 +00:00
attribute.h Cycles Hair: refactoring to support generic attributes for hair curves. There 2013-01-03 12:08:54 +00:00
background.cpp Fix #35896: cycles crash with OSL image textures and viewport + preview render 2013-06-28 13:05:21 +00:00
background.h Fix #35896: cycles crash with OSL image textures and viewport + preview render 2013-06-28 13:05:21 +00:00
bssrdf.cpp Cycles / Math: 2013-05-12 14:13:29 +00:00
bssrdf.h Cycles: initial subsurface multiple scattering support. It's not working as 2013-04-01 20:26:52 +00:00
buffers.cpp Fix #36064: cycles direct/indirect light passes with materials that have zero 2013-07-08 23:31:45 +00:00
buffers.h Cycles: merge of changes from tomato branch. 2012-09-04 13:29:07 +00:00
camera.cpp Cycles / Math: 2013-05-12 14:13:29 +00:00
camera.h Cycles Hair: Strand Minimum Pixel Size 2013-04-15 21:38:31 +00:00
CMakeLists.txt Cycles: 2013-05-09 14:21:36 +00:00
curves.cpp Cycles Hair: Strand Minimum Pixel Size 2013-04-15 21:38:31 +00:00
curves.h Cycles Hair: Strand Minimum Pixel Size 2013-04-15 21:38:31 +00:00
film.cpp Cycles: ray visibility options now work for lamps and mesh lights, with and without 2013-06-07 18:59:23 +00:00
film.h Cycles: ray visibility options now work for lamps and mesh lights, with and without 2013-06-07 18:59:23 +00:00
graph.cpp Fix #35847: cycles group nodes did not work well exposing inputs like normal or 2013-06-23 19:24:32 +00:00
graph.h Fix #35847: cycles group nodes did not work well exposing inputs like normal or 2013-06-23 19:24:32 +00:00
image.cpp Fix #34252: cycles rendering 16bit PNG with too light colors. 2013-02-14 21:40:29 +00:00
image.h Fix #34252: cycles rendering 16bit PNG with too light colors. 2013-02-14 21:40:29 +00:00
integrator.cpp Cycles: ray visibility panel is now also available for the world, works same as 2013-06-10 20:34:34 +00:00
integrator.h Cycles: experimental correlated multi-jittered sampling pattern that can be used 2013-06-07 16:06:22 +00:00
light.cpp Fix cycles world ray visibility not working correct with multiple importance 2013-07-02 21:03:16 +00:00
light.h Fix #35672: missing update when changing light ray visibility during viewport render. 2013-06-08 13:43:38 +00:00
mesh_displace.cpp Cycles: 2013-05-09 15:20:00 +00:00
mesh.cpp Cycles: 2013-06-04 17:20:00 +00:00
mesh.h Fix #35102: crash with experimental cycles displacement feature due to 2013-04-27 02:54:24 +00:00
nodes.cpp Fix #35847: cycles group nodes did not work well exposing inputs like normal or 2013-06-23 19:24:32 +00:00
nodes.h Fix #35847: cycles group nodes did not work well exposing inputs like normal or 2013-06-23 19:24:32 +00:00
object.cpp Cycles: add "Transparent Shadow" option for materials, to disable them per material. 2013-06-18 09:36:00 +00:00
object.h Cycles: code refactoring to deduplicate the various BVH traversal variations. 2013-04-17 20:07:22 +00:00
osl.cpp Fix #35896: cycles crash with OSL image textures and viewport + preview render 2013-06-28 13:05:21 +00:00
osl.h Attempt to fix #35041 and #34725: cycles crash with OSL and both a 3D viewport 2013-04-22 14:27:12 +00:00
particles.cpp Fix #33113: cycles not rendering motion blur correct with dying particles. 2012-11-08 16:35:28 +00:00
particles.h Added a bunch of additional particle state attributes to the Cycles particle info node: 2012-08-31 19:38:59 +00:00
scene.cpp Cycles: initial subsurface multiple scattering support. It's not working as 2013-04-01 20:26:52 +00:00
scene.h Fix #35896: cycles crash with OSL image textures and viewport + preview render 2013-06-28 13:05:21 +00:00
session.cpp Render stats text: show elapsed time for blender internal, hide useless "Single Layer" 2013-06-24 22:41:24 +00:00
session.h Cycles / Tile Rendering: 2013-01-07 19:55:49 +00:00
shader.cpp Fix #35896: cycles crash with OSL image textures and viewport + preview render 2013-06-28 13:05:21 +00:00
shader.h Cycles: add "Transparent Shadow" option for materials, to disable them per material. 2013-06-18 09:36:00 +00:00
sobol.cpp Fix #29528: crash adding subsurf modifier in a particular scene with viewport render. 2011-12-08 21:55:35 +00:00
sobol.h Fix #29528: crash adding subsurf modifier in a particular scene with viewport render. 2011-12-08 21:55:35 +00:00
svm.cpp Cycles: add "Transparent Shadow" option for materials, to disable them per material. 2013-06-18 09:36:00 +00:00
svm.h Cycles: initial subsurface multiple scattering support. It's not working as 2013-04-01 20:26:52 +00:00
tables.cpp Cycles: initial subsurface multiple scattering support. It's not working as 2013-04-01 20:26:52 +00:00
tables.h Cycles: initial subsurface multiple scattering support. It's not working as 2013-04-01 20:26:52 +00:00
tile.cpp Cycles / Tile Rendering: 2013-05-08 19:49:09 +00:00
tile.h Cycles / Tile Rendering: 2013-05-08 19:49:09 +00:00