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.
This commit is contained in:
Brecht Van Lommel
2013-09-03 22:39:17 +00:00
parent 9467d99405
commit b314209356
14 changed files with 161 additions and 40 deletions

View File

@@ -203,7 +203,7 @@ public:
BsdfNode(bool scattering = false);
SHADER_NODE_BASE_CLASS(BsdfNode);
void compile(SVMCompiler& compiler, ShaderInput *param1, ShaderInput *param2, ShaderInput *param3 = NULL);
void compile(SVMCompiler& compiler, ShaderInput *param1, ShaderInput *param2, ShaderInput *param3 = NULL, ShaderInput *param4 = NULL);
ClosureType closure;
bool scattering;