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/osl/osl_closures.cpp | |
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/osl/osl_closures.cpp')
-rw-r--r-- | intern/cycles/kernel/osl/osl_closures.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/kernel/osl/osl_closures.cpp b/intern/cycles/kernel/osl/osl_closures.cpp index 9ce11ca1207..b477b186080 100644 --- a/intern/cycles/kernel/osl/osl_closures.cpp +++ b/intern/cycles/kernel/osl/osl_closures.cpp @@ -181,10 +181,6 @@ void OSLShader::register_closures(OSLShadingSystem *ss_) bsdf_ward_params(), bsdf_ward_prepare); register_closure(ss, "ashikhmin_velvet", id++, bsdf_ashikhmin_velvet_params(), bsdf_ashikhmin_velvet_prepare); - register_closure(ss, "westin_backscatter", id++, - bsdf_westin_backscatter_params(), bsdf_westin_backscatter_prepare); - register_closure(ss, "westin_sheen", id++, - bsdf_westin_sheen_params(), bsdf_westin_sheen_prepare); register_closure(ss, "emission", id++, closure_emission_params(), closure_emission_prepare); register_closure(ss, "background", id++, @@ -201,6 +197,10 @@ void OSLShader::register_closures(OSLShadingSystem *ss_) closure_bsdf_diffuse_toon_params(), closure_bsdf_diffuse_toon_prepare); register_closure(ss, "specular_toon", id++, closure_bsdf_specular_toon_params(), closure_bsdf_specular_toon_prepare); + register_closure(ss, "westin_backscatter", id++, + closure_westin_backscatter_params(), closure_westin_backscatter_prepare); + register_closure(ss, "westin_sheen", id++, + closure_westin_sheen_params(), closure_westin_sheen_prepare); register_closure(ss, "bssrdf_cubic", id++, closure_bssrdf_params(), closure_bssrdf_prepare); } |