Blender Git Loki
Git Commits -> Revision d64661b
Revision d64661b by Brecht Van Lommel (master) May 2, 2012, 17:03 (GMT) |
Cycles: add Ray Length output to Light Path node. This gives the distance travelled by the last light ray. One use case for this might be to do absorption. Patch #31232 by Agustin benavidez, see this blog post for details: http://agus3d.blogspot.com.ar/2012/05/blender-cycles-ray-length-node-output.html |
Commit Details:
Full Hash: d64661b5078cd4781bd58fce6fadedac511c4132
SVN Revision: 46200
Parent Commit: 89f554f
Lines Changed: +23, -6
7 Modified Paths:
/intern/cycles/kernel/kernel_emission.h (+3, -3) (Diff)
/intern/cycles/kernel/kernel_shader.h (+5, -2) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -0) (Diff)
/intern/cycles/kernel/svm/svm_light_path.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+2, -1) (Diff)
/intern/cycles/render/nodes.cpp (+8, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_light_path.c (+1, -0) (Diff)
/intern/cycles/kernel/kernel_shader.h (+5, -2) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -0) (Diff)
/intern/cycles/kernel/svm/svm_light_path.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+2, -1) (Diff)
/intern/cycles/render/nodes.cpp (+8, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_light_path.c (+1, -0) (Diff)