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:
@@ -221,6 +221,10 @@ void OSLShader::register_closures(OSLShadingSystem *ss_)
|
||||
closure_bssrdf_cubic_params(), closure_bssrdf_cubic_prepare);
|
||||
register_closure(ss, "bssrdf_gaussian", id++,
|
||||
closure_bssrdf_gaussian_params(), closure_bssrdf_gaussian_prepare);
|
||||
register_closure(ss, "bssrdf_cubic", id++,
|
||||
closure_bssrdf_cubic_extended_params(), closure_bssrdf_cubic_prepare);
|
||||
register_closure(ss, "bssrdf_gaussian", id++,
|
||||
closure_bssrdf_gaussian_extended_params(), closure_bssrdf_gaussian_prepare);
|
||||
}
|
||||
|
||||
CCL_NAMESPACE_END
|
||||
|
Reference in New Issue
Block a user