Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2014-09-07 23:13:00 +0400
committerThomas Dinges <blender@dingto.org>2014-09-07 23:13:00 +0400
commitda3be518b6c70aa06e5bb5db8ae78d1d6623a306 (patch)
tree5d0f69a4f7c540842949e7717404434a9b7fb2cf
parentaa8d25bf09c7ef952688eee51896fa3c4a02c989 (diff)
Comment out SVM fresnel_conductor() function for now, still unused.
-rw-r--r--intern/cycles/kernel/closure/bsdf_util.h2
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)
{