Blender Git Commit Log

Git Commits -> Revision 3840e0b

Revision 3840e0b by Thomas Dinges (master)
July 31, 2013, 20:30 (GMT)
Cycles / Ray Depth:
* Added a Ray Depth output to the Light Path node, which gives the user access to the current bounce.
This can be used to limit the maximum ray bounce on a per shader basis. Another use case is to restrict light influence with this, to have a lamp only contribute to the direct lighting.

http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Light_Path

This is part of my GSoC 2013 project. SVN merge of r58091 and r58772 from soc-2013-dingto.

Commit Details:

Full Hash: 3840e0b2347200ceb414f12deb3436b20d274c66
SVN Revision: 58776
Parent Commit: c15ae08
Lines Changed: +62, -31

12 Modified Paths:

/intern/cycles/kernel/kernel_displace.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_emission.h (+10, -10) (Diff)
/intern/cycles/kernel/kernel_path.h (+13, -13) (Diff)
/intern/cycles/kernel/kernel_shader.h (+7, -4) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -0) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+10, -1) (Diff)
/intern/cycles/kernel/osl/osl_services.h (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_light_path.osl (+6, -1) (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 (+7, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_light_path.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021