blender/source
Thomas Dinges 83e73a2100 Cycles: Refactor how we pass bounce info to light path node.
This commit changes the way how we pass bounce information to the Light
Path node. Instead of manualy copying the bounces into ShaderData, we now
directly pass PathState. This reduces the arguments that we need to pass
around and also makes it easier to extend the feature.

This commit also exposes the Transmission Bounce Depth to the Light Path
node. It works similar to the Transparent Depth Output: Replace a
Transmission lightpath after X bounces with another shader, e.g a Diffuse
one. This can be used to avoid black surfaces, due to low amount of max
bounces.

Reviewed by Sergey and Brecht, thanks for some hlp with this.

I tested compilation and usage on CPU (SVM and OSL), CUDA, OpenCL Split
and Mega kernel. Hopefully this covers all devices. :)
2016-01-06 23:43:29 +01:00
..
blender Cycles: Refactor how we pass bounce info to light path node. 2016-01-06 23:43:29 +01:00
blenderplayer Fix Blender Player linking issue. 2016-01-06 01:33:12 +01:00
creator CMake: copy python DLL for MinGW builds 2016-01-05 22:13:36 +11:00
gameengine Remove SCons building system 2016-01-04 14:20:48 +05:00
icons Remove SCons building system 2016-01-04 14:20:48 +05:00
CMakeLists.txt