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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user