Comment out SVM fresnel_conductor() function for now, still unused.
This commit is contained in:
@@ -111,6 +111,7 @@ ccl_device float fresnel_dielectric_cos(float cosi, float eta)
|
|||||||
return 1.0f; // TIR(no refracted component)
|
return 1.0f; // TIR(no refracted component)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
ccl_device float3 fresnel_conductor(float cosi, const float3 eta, const float3 k)
|
ccl_device float3 fresnel_conductor(float cosi, const float3 eta, const float3 k)
|
||||||
{
|
{
|
||||||
float3 cosi2 = make_float3(cosi*cosi);
|
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);
|
(tmp_f + (2.0f * eta * cosi) + cosi2);
|
||||||
return(Rparl2 + Rperp2) * 0.5f;
|
return(Rparl2 + Rperp2) * 0.5f;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
ccl_device float smooth_step(float edge0, float edge1, float x)
|
ccl_device float smooth_step(float edge0, float edge1, float x)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user