diff options
author | Thomas Dinges <blender@dingto.org> | 2013-05-18 18:36:03 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-05-18 18:36:03 +0400 |
commit | eaf493d323ce778c0b68a793b9cd6c813315aea3 (patch) | |
tree | 1868ee01db89af2e156c37837c46fa293405b508 /intern/cycles/kernel/shaders/stdosl.h | |
parent | 040279679c229fb6ca4d3c6424166492a02e5cc1 (diff) |
Cycles / OSL:
* Added Westin Sheen and Westin Backscatter closures for testing, useful for Cloth like effects.
Only available via OSL, added an example OSL shader to the Templates (Text Editor).
Diffstat (limited to 'intern/cycles/kernel/shaders/stdosl.h')
-rw-r--r-- | intern/cycles/kernel/shaders/stdosl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/kernel/shaders/stdosl.h b/intern/cycles/kernel/shaders/stdosl.h index 010d6ddd200..9c9e04ab721 100644 --- a/intern/cycles/kernel/shaders/stdosl.h +++ b/intern/cycles/kernel/shaders/stdosl.h @@ -447,6 +447,8 @@ closure color diffuse_ramp(normal N, color colors[8]) BUILTIN; closure color phong_ramp(normal N, float exponent, color colors[8]) BUILTIN; closure color diffuse_toon(normal N, float size, float smooth) BUILTIN; closure color specular_toon(normal N, float size, float smooth) BUILTIN; +closure color westin_backscatter(normal N, float roughness) BUILTIN; +closure color westin_sheen(normal N, float edginess) BUILTIN; closure color translucent(normal N) BUILTIN; closure color reflection(normal N) BUILTIN; closure color refraction(normal N, float eta) BUILTIN; |