Cycles: add Transparent Depth output to Light Path node.
authorCarlo Andreacchio <carlorules@gmail.com>
Mon, 21 Apr 2014 12:20:29 +0000 (14:20 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 21 Apr 2014 12:44:36 +0000 (14:44 +0200)
commit7765b73f6d2002b074b7e78985171ef035075fbb
treeea3bff55c5c71ba4800bb11b044f403928dd3a6d
parentf8cd3d974dafe1482c49a87a2ede68d9defe7ef9
Cycles: add Transparent Depth output to Light Path node.

This can for example be useful if you want to manually terminate the path at
some point and use a color other than black.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D454
14 files changed:
intern/cycles/kernel/kernel_displace.h
intern/cycles/kernel/kernel_emission.h
intern/cycles/kernel/kernel_path.h
intern/cycles/kernel/kernel_shader.h
intern/cycles/kernel/kernel_shadow.h
intern/cycles/kernel/kernel_types.h
intern/cycles/kernel/kernel_volume.h
intern/cycles/kernel/osl/osl_services.cpp
intern/cycles/kernel/osl/osl_services.h
intern/cycles/kernel/shaders/node_light_path.osl
intern/cycles/kernel/svm/svm_light_path.h
intern/cycles/kernel/svm/svm_types.h
intern/cycles/render/nodes.cpp
source/blender/nodes/shader/nodes/node_shader_light_path.c