diff options
author | Thomas Dinges <blender@dingto.org> | 2014-09-07 23:13:00 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-09-07 23:13:00 +0400 |
commit | da3be518b6c70aa06e5bb5db8ae78d1d6623a306 (patch) | |
tree | 5d0f69a4f7c540842949e7717404434a9b7fb2cf | |
parent | aa8d25bf09c7ef952688eee51896fa3c4a02c989 (diff) |
Comment out SVM fresnel_conductor() function for now, still unused.
-rw-r--r-- | intern/cycles/kernel/closure/bsdf_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/kernel/closure/bsdf_util.h b/intern/cycles/kernel/closure/bsdf_util.h index 6851dca309b..05816bac2c1 100644 --- a/intern/cycles/kernel/closure/bsdf_util.h +++ b/intern/cycles/kernel/closure/bsdf_util.h @@ -111,6 +111,7 @@ ccl_device float fresnel_dielectric_cos(float cosi, float eta) return 1.0f; // TIR(no refracted component) } +#if 0 ccl_device float3 fresnel_conductor(float cosi, const float3 eta, const float3 k) { float3 cosi2 = make_float3(cosi*cosi); @@ -123,6 +124,7 @@ ccl_device float3 fresnel_conductor(float cosi, const float3 eta, const float3 k (tmp_f + (2.0f * eta * cosi) + cosi2); return(Rparl2 + Rperp2) * 0.5f; } +#endif ccl_device float smooth_step(float edge0, float edge1, float x) { |