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:
@@ -465,11 +465,12 @@ closure color holdout() BUILTIN;
|
||||
closure color ambient_occlusion() BUILTIN;
|
||||
|
||||
// BSSRDF
|
||||
closure color bssrdf_cubic(normal N, vector radius) BUILTIN;
|
||||
closure color bssrdf_gaussian(normal N, vector radius) BUILTIN;
|
||||
closure color bssrdf_cubic(normal N, vector radius, float texture_blur, float sharpness) BUILTIN;
|
||||
closure color bssrdf_gaussian(normal N, vector radius, float texture_blur) BUILTIN;
|
||||
|
||||
// Backwards compatibility
|
||||
|
||||
closure color bssrdf_cubic(normal N, vector radius) BUILTIN;
|
||||
closure color bssrdf_gaussian(normal N, vector radius) BUILTIN;
|
||||
closure color specular_toon(normal N, float size, float smooth) BUILTIN;
|
||||
|
||||
// Renderer state
|
||||
|
Reference in New Issue
Block a user