Cycles: add a sharpness input to the Cubic SSS falloff. When set to 1 this will
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 3 Sep 2013 22:39:17 +0000 (22:39 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 3 Sep 2013 22:39:17 +0000 (22:39 +0000)
commitb314209356288c3768faa1d7fbd7b1bf9d179a7a
tree2fafde8bdccff99e294acb34dbca90605e2e5327
parent9467d9940583d6c3a2e1b83f854453da9e64fdd7
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.
14 files changed:
intern/cycles/kernel/closure/bssrdf.h
intern/cycles/kernel/osl/osl_bssrdf.cpp
intern/cycles/kernel/osl/osl_bssrdf.h
intern/cycles/kernel/osl/osl_closures.cpp
intern/cycles/kernel/osl/osl_closures.h
intern/cycles/kernel/osl/osl_shader.cpp
intern/cycles/kernel/shaders/node_subsurface_scattering.osl
intern/cycles/kernel/shaders/stdosl.h
intern/cycles/kernel/svm/svm_closure.h
intern/cycles/render/nodes.cpp
intern/cycles/render/nodes.h
source/blender/gpu/shaders/gpu_shader_material.glsl
source/blender/makesrna/intern/rna_nodetree.c
source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c