[Bf-blender-cvs] [da3be51] master: Comment out SVM fresnel_conductor() function for now, still unused.
Thomas Dinges
noreply at git.blender.org
Sun Sep 7 21:13:22 CEST 2014
Commit: da3be518b6c70aa06e5bb5db8ae78d1d6623a306
Author: Thomas Dinges
Date: Sun Sep 7 21:13:00 2014 +0200
Branches: master
https://developer.blender.org/rBda3be518b6c70aa06e5bb5db8ae78d1d6623a306
Comment out SVM fresnel_conductor() function for now, still unused.
===================================================================
M intern/cycles/kernel/closure/bsdf_util.h
===================================================================
diff --git a/intern/cycles/kernel/closure/bsdf_util.h b/intern/cycles/kernel/closure/bsdf_util.h
index 6851dca..05816ba 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)
{
More information about the Bf-blender-cvs
mailing list