diff options
author | Pascal Schoen <pascal_schoen@gmx.net> | 2016-04-29 23:56:49 +0300 |
---|---|---|
committer | Pascal Schoen <pascal_schoen@gmx.net> | 2016-05-24 17:51:12 +0300 |
commit | 00a1378b98e435e9cdbfbac86eb974c19b2a8151 (patch) | |
tree | bb7f47019e572b8f8eeeb1092b3dbba905a7d3ff /intern/cycles/kernel/shaders | |
parent | 6baa7a7eb787638661cddad0c4e7f78bd3a8fa5c (diff) |
disney diffuse und specular implemented
Diffstat (limited to 'intern/cycles/kernel/shaders')
-rw-r--r-- | intern/cycles/kernel/shaders/stdosl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/kernel/shaders/stdosl.h b/intern/cycles/kernel/shaders/stdosl.h index 01f391d8e30..af9ecdd7126 100644 --- a/intern/cycles/kernel/shaders/stdosl.h +++ b/intern/cycles/kernel/shaders/stdosl.h @@ -538,6 +538,9 @@ closure color holdout() BUILTIN; closure color ambient_occlusion() BUILTIN; closure color disney_diffuse(normal N, color baseColor, float subsurface, float roughness, float sheen, float sheenTint, float withNdotL, float brightness, float gamma, float exposure, float mon2lingamma) BUILTIN; +closure color disney_specular(normal N, normal T, color baseColor, float metallic, float specular, float specularTint, + float roughness, float anisotropic, float withNdotL, float brightness, float gamma, float exposure, + float mon2lingamma) BUILTIN; // BSSRDF closure color bssrdf_cubic(normal N, vector radius, float texture_blur, float sharpness) BUILTIN; |