Blender Git Commit Log
Git Commits -> Revision 028ba31
Revision 028ba31 by Lukas Stockner (master) June 21, 2016, 18:09 (GMT) |
Fix T48698: Rays from SSS act as diffuse for normal objects but have an undefined type for lamp objects The problem here was that there are five path types internally (diffuse, glossy, transmission, subsurface and volume scatter), but subsurface isn't exposed to the user. This caused some weird behaviour - if all four types are disabled on the lamp, Cycles doesn't even try sampling it, but if any type was active, the lamp would illuminate the cube since none of the options set subsurface to zero. In the future, it might be reasonable to add subsurface visibility as an option - but for now the weird and inconsistent behaviour can be fixed simply by setting both diffuse and subsurface to zero if the user disables diffuse visibility. |
Commit Details:
Full Hash: 028ba319038c6d6fb391df38874af68dae6c4eb5
Parent Commit: db4a46b
Lines Changed: +3, -1
1 Modified Path:
/intern/cycles/kernel/kernel_emission.h (+3, -1) (Diff)