Blender Git Loki
Git Commits -> Revision b314209
Revision b314209 by Brecht Van Lommel (master) September 3, 2013, 22:39 (GMT) |
Cycles: add a sharpness input to the Cubic SSS falloff. When set to 1 this will give a result more similar to the Compatible falloff option. The scale is x2 though to keep the perceived scatter radius roughly the same while changing the sharpness. Difference with compatible will be mainly on non-flat geometry. |
Commit Details:
Full Hash: b314209356288c3768faa1d7fbd7b1bf9d179a7a
SVN Revision: 59783
Parent Commit: 9467d99
Lines Changed: +161, -40
14 Modified Paths:
/intern/cycles/kernel/closure/bssrdf.h (+51, -11) (Diff)
/intern/cycles/kernel/osl/osl_bssrdf.cpp (+26, -5) (Diff)
/intern/cycles/kernel/osl/osl_bssrdf.h (+1, -1) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+4, -0) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+2, -0) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_subsurface_scattering.osl (+5, -4) (Diff)
/intern/cycles/kernel/shaders/stdosl.h (+4, -3) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+10, -5) (Diff)
/intern/cycles/render/nodes.cpp (+11, -6) (Diff)
/intern/cycles/render/nodes.h (+1, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+10, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+34, -2) (Diff)
/intern/cycles/kernel/osl/osl_bssrdf.cpp (+26, -5) (Diff)
/intern/cycles/kernel/osl/osl_bssrdf.h (+1, -1) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+4, -0) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+2, -0) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_subsurface_scattering.osl (+5, -4) (Diff)
/intern/cycles/kernel/shaders/stdosl.h (+4, -3) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+10, -5) (Diff)
/intern/cycles/render/nodes.cpp (+11, -6) (Diff)
/intern/cycles/render/nodes.h (+1, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+10, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+34, -2) (Diff)