Cycles: Specify roughness for Subsurface OSL node

The Subsurface node doesn't expose this option yet, so follow SVM and set it
to 1.0 for now.
This commit is contained in:
Lukas Stockner 2023-09-14 03:36:28 +02:00
parent 65d56143ab
commit c082e43f1e

@ -13,6 +13,14 @@ shader node_subsurface_scattering(color Color = 0.8,
normal Normal = N,
output closure color BSSRDF = 0)
{
BSSRDF = Color *
bssrdf(method, Normal, Scale * Radius, Color, "ior", IOR, "anisotropy", Anisotropy);
BSSRDF = Color * bssrdf(method,
Normal,
Scale * Radius,
Color,
"ior",
IOR,
"anisotropy",
Anisotropy,
"roughness",
1.0);
}