Post · 14 min read· pp. 216–225

Memo on Fresnel equations

Version : 1.4 – Living blog – First version was 29 April 2013

This post is a memo for me about misc thing I found related to the Fresnel equation as there is plenty of formula into the wild. I spend some times to gather these information and I was thinking it can interest others. This will not be really relevant to game rendering but still good to know. This could be useful when doing reference or when dealing with total internal reflection (frequent with multi layered BRDF). This is a memo, not a tutorial, so I won’t give basic explanation of many concepts like reflection/refraction, Snell’s law, index of refraction (IOR), total internal reflection (TIR), etc… At the end of the post I provide a Mathematica file with all the equations and graphs.

Notation for this post:

Conductor mean Metal and dielectric mean no-Metal material.

Light moves from a medium of a given IOR nin_i (incoming) into a second medium with IOR ntn_t (transmitted).

Conductor have complex IOR with an imaginary part ktk_t (note that’s t “transmitted” is a bad choice for conductor but I found it more identifiable than n1n_1 and n2n_2, k2k_2).

Fresnel Equation basis

All equations using an index of refraction ntn_t can be replace with the same equation using a complex index of refraction nt−iktn_t -\mathbf{i} k_t.

Snell’s law dielectric-conductor interface : sin⁡θisin⁡θt=nt−iktni\frac{\sin\theta_i}{\sin\theta_t}=\frac{n_t -\mathbf{i} k_t}{n_i}

Snell’s law dielectric-dielectric interface : sin⁡θisin⁡θt=ntni\frac{\sin\theta_i}{\sin\theta_t}=\frac{n_t}{n_i}

The calculations of the reflectance RR (What we are looking for when we want to calculate the percentage of reflection and transmission) depend on p- and s-polarization of the incident ray. RsRs and RpRp are the reflectivity for the two planes of polarization. RsRs is perpendicular (s = German senkrecht) and RpRp is parallel. The reflectance RR for unpolarized light is the average of RsRs and RpRp:

R=(Rs+Rp)2=(r⊥2+r∥2)2R=\frac{(R_s+R_p)}{2}=\frac{(r_\perp^2+r_\parallel^2)}{2}

Following expressions use RsR_s and RtR_t or r⊥r_\perp and r∥r_\parallel depend on cases to simplify notation.

Fresnel equation for dielectric-conductor interface is [5]:

r⊥=nicos⁡θi−(nt−ikt)cos⁡θtnicos⁡θi+(nt−ikt)cos⁡θtr_\perp=\frac{n_i \cos\theta_i - (n_t -\mathbf{i} k_t)\cos\theta_t }{n_i \cos\theta_i + (n_t -\mathbf{i} k_t)\cos\theta_t }

r∥=(nt−ikt)cos⁡θi−nicos⁡θt(nt−ikt)cos⁡θi+nicos⁡θtr_\parallel=\frac{(n_t -\mathbf{i} k_t) \cos\theta_i - n_i\cos\theta_t }{(n_t -\mathbf{i} k_t)\cos\theta_i + n_i\cos\theta_t }

Fresnel equation for dielectric-dielectric interface is [2]:

r⊥=nicos⁡θi−ntcos⁡θtnicos⁡θi+ntcos⁡θtr_\perp=\frac{n_i \cos\theta_i - n_t\cos\theta_t }{n_i \cos\theta_i + n_t\cos\theta_t }

r∥=ntcos⁡θi−nicos⁡θtntcos⁡θi+nicos⁡θtr_\parallel=\frac{n_t\cos\theta_i - n_i \cos\theta_t}{n_t\cos\theta_i + n_i \cos\theta_t}

Note as the expression is square “i” and “t” can be swap.

Dielectric Fresnel’s formulas are always derive from conductor Fresnel’s formulas by settings kt=0k_t=0.

Several Fresnel’s formulas assume an Air-Dielectric/Conductor interface. Air IOR is 1.000293 and is approximate to 1. Thus using ni=1n_i=1 allow many simplification.

We define η=ntni\eta=\frac{n_t}{n_i} and ηk=ktni\eta_k=\frac{k_t}{n_i} the ratio of indices of refraction at the surface interface. Fresnel’s formulas with nin_i, ntn_t and ktk_t can always be replace by Fresnel’s formulas with η\eta and ηk\eta_k.

All Fresnel’s formulas of the rest of the post are based on derivation of the Fresnel equation above. Arrangement is done to express and optimize Fresnel’s formulas depending on θi\theta_i alias θ\theta in this post using expression derives from Snell’s law:

cos⁡θt=1−(nintsin⁡θi)2\cos\theta_t=\sqrt{1 - (\frac{n_i}{n_t}\sin\theta_i)^2}

cos⁡θt=1−(nint2(1−cos⁡2θi))\cos\theta_t= \sqrt{1 - (\frac{n_i}{n_t}^2(1-\cos^2\theta_i))}

Fresnel Equation in practice

Dielectric-Conductor interface

From [1]:

a2=12ni2((nt2−kt2−ni2sin⁡2θ)2+4nt2kt2+nt2−kt2−ni2sin⁡2θ)a^2=\frac{1}{2n_i^2}(\sqrt{(n_t^2-k_t^2-n_i^2\sin^2\theta)^2+4n_t^2 k_t^2}+n_t^2-k_t^2-n_i^2\sin^2\theta)

b2=12ni2((nt2−kt2−ni2sin⁡2θ)2+4nt2kt2−nt2+kt2+ni2sin⁡2θ)b^2=\frac{1}{2n_i^2}(\sqrt{(n_t^2-k_t^2-n_i^2\sin^2\theta)^2+4n_t^2 k_t^2}-n_t^2+k_t^2+n_i^2\sin^2\theta)

Rs=a2+b2−2acos⁡θ+cos⁡2θa2+b2+2acos⁡θ+cos⁡2θR_s=\frac{a^2+b^2-2 a\cos\theta + \cos^2\theta }{a^2 + b^2 + 2 a\cos\theta + \cos^2\theta}

Rp=Rsa2+b2−2asin⁡θtan⁡θ+sin⁡2θtan⁡2θa2+b2+2asin⁡θtan⁡θ+sin⁡2θtan⁡2θR_p=R_s\frac{a^2+b^2-2 a\sin\theta \tan\theta + \sin^2\theta \tan^2\theta}{a^2+b^2+2 a\sin\theta \tan\theta + \sin^2\theta \tan^2\theta}

using a2a^2 and b2b^2 with η\eta and ηk\eta_k as follow give the same result:

a2=12((η2−ηk2−sin⁡2θ)2+4η2ηk2+η2−ηk2−sin⁡2θ)a^2=\frac{1}{2}(\sqrt{(\eta^2-\eta_k^2-\sin^2\theta)^2+4\eta^2 \eta_k^2}+\eta^2-\eta_k^2-\sin^2\theta)

b2=12((η2−ηk2−sin⁡2θ)2+4η2ηk2−η2+ηk2+sin⁡2θ)b^2=\frac{1}{2}(\sqrt{(\eta^2-\eta_k^2-\sin^2\theta)^2+4\eta^2 \eta_k^2}-\eta^2+\eta_k^2+\sin^2\theta)

Derivation from conductor Fresnel equation can be found in [5] (p.111) and use

(nt−ikt)cos⁡θt=(nt−ikt)1−(ni(nt−ikt)sin⁡θ)2=(nt−ikt)2−ni2sin⁡2θ(n_t -\mathbf{i} k_t)\cos\theta_t= (n_t -\mathbf{i} k_t)\sqrt{1 - (\frac{n_i}{(n_t -\mathbf{i} k_t)}\sin\theta)^2}=\sqrt{(n_t -\mathbf{i} k_t)^2 - n_i^2\sin^2\theta}

a−ib=(nt−ikt)2−ni2sin⁡2θ)a -\mathbf{i}b=\sqrt{(n_t -\mathbf{i} k_t)^2 - n_i^2\sin^2\theta)}

In practice there is some simplification possible:

a2+b2=(η2−ηk2−sin⁡2θ)2+4η2ηk2a^2 + b^2 =\sqrt{(\eta^2-\eta_k^2-\sin^2\theta)^2+4\eta^2 \eta_k^2}

tan⁡θ=sin⁡θcos⁡θ\tan\theta = \frac{\sin \theta}{\cos \theta}

Rp=Rscos⁡2θ(a2+b2)−2acos⁡θsin⁡2θ+sin⁡4θcos⁡2θ(a2+b2)+2acos⁡θsin⁡2θ+sin⁡4θR_p=R_s\frac{ \cos^2 \theta (a^2+b^2)-2 a\cos\theta \sin^2\theta + \sin^4\theta}{\cos^2 \theta (a^2+b^2)+2 a\cos\theta \sin^2\theta + \sin^4\theta}

resulting in hlsl code:

text
float3 FresnelDieletricConductor(float3 Eta, float3 Etak, float CosTheta)
{  
   float CosTheta2 = CosTheta * CosTheta;
   float SinTheta2 = 1 - CosTheta2;
   float3 Eta2 = Eta * Eta;
   float3 Etak2 = Etak * Etak;

   float3 t0 = Eta2 - Etak2 - SinTheta2;
   float3 a2plusb2 = sqrt(t0 * t0 + 4 * Eta2 * Etak2);
   float3 t1 = a2plusb2 + CosTheta2;
   float3 a = sqrt(0.5f * (a2plusb2 + t0));
   float3 t2 = 2 * a * CosTheta;
   float3 Rs = (t1 - t2) / (t1 + t2);

   float3 t3 = CosTheta2 * a2plusb2 + SinTheta2 * SinTheta2;
   float3 t4 = t2 * SinTheta2;   
   float3 Rp = Rs * (t3 - t4) / (t3 + t4);

   return 0.5 * (Rp + Rs);
}

A more efficient approximation for Air-Conductor interface is available in [3]:

Rs=(nt2+kt2)−2ntcos⁡θ+cos⁡2θ(nt2+kt2)+2ntcos⁡θ+cos⁡2θRs=\frac{(n_t^2+k_t^2)- 2n_t \cos \theta + \cos^2 \theta }{(n_t^2+k_t^2)+ 2n_t \cos \theta + \cos^2 \theta}

Rp=(nt2+kt2)cos⁡2θ−2ntcos⁡θ+1(nt2+kt2)cos⁡2θ+2ntcos⁡θ+1Rp=\frac{(n_t^2+k_t^2)\cos^2 \theta - 2n_t \cos \theta + 1 }{(n_t^2+k_t^2)\cos^2 \theta + 2n_t \cos \theta + 1}

Calling the above expressions with η\eta and ηk\eta_k instead of ntn_t and ktk_t allow to approximate Dielectric-Conductor interface. Hsls code is:

text
float3 FresnelDieletricConductorApprox(float3 Eta, float3 Etak, float CosTheta)
{
    float  CosTheta2 = CosTheta * CosTheta;
    float3 TwoEtaCosTheta = 2 * Eta * CosTheta;

    float3 t0 = Eta * Eta + Etak * Etak;
    float3 t1 = t0 * CosTheta2;
    float3 Rs = (t0 - TwoEtaCosTheta + CosTheta2) / (t0 + TwoEtaCosTheta + CosTheta2);
    float3 Rp = (t1 - TwoEtaCosTheta + 1) / (t1 + TwoEtaCosTheta + 1);

    return 0.5* (Rp + Rs);
}

For kt=0k_t=0 the approximation (Blue curve) is not good, for other case, the approximation is great:

FresnelConductorApproximation

This formulation is really specialized for conductor and should not be used for Dielectric-Dielectric interface.

Dielectric-Dielectric interface

From [2]:

r⊥=nicos⁡θ−nt1−(nint2sin2θ)nicos⁡θ+nt1−(nint2sin2θ)=nicos⁡θ−nt1−(nint2(1−cos⁡2θ))nicos⁡θ+nt1−(nint2(1−cos⁡2θ))=cos⁡θ−η1−(1η2(1−cos⁡2θ))cos⁡θ+η1−(1η2(1−cos⁡2θ))r_\perp=\frac{n_i \cos\theta -n_t\sqrt{1 - (\frac{n_i}{n_t}^2 sin^2\theta)}}{n_i \cos\theta +n_t\sqrt{1 - (\frac{n_i}{n_t}^2 sin^2\theta)}}=\frac{n_i \cos\theta -n_t\sqrt{1 - (\frac{n_i}{n_t}^2(1-\cos^2\theta))}}{n_i \cos\theta +n_t\sqrt{1 - (\frac{n_i}{n_t}^2(1-\cos^2\theta))}}=\frac{\cos\theta -\eta\sqrt{1 - (\frac{1}{\eta}^2(1-\cos^2\theta))}}{\cos\theta +\eta\sqrt{1 - (\frac{1}{\eta}^2(1-\cos^2\theta))}}

r∥=ni1−(nint2sin2θ)−ntcos⁡θni1−(nint2sin2θ)+ntcos⁡θ=ni1−(nint2(1−cos⁡2θ))−ntcos⁡θni1−(nint2(1−cos⁡2θ))+ntcos⁡θ=1−(1η2(1−cos⁡2θ))−ηcos⁡θ1−(1η2(1−cos⁡2θ))+ηcos⁡θr_\parallel=\frac{n_i \sqrt{1 - (\frac{n_i}{n_t}^2 sin^2\theta)} -n_t\cos\theta}{n_i \sqrt{1 - (\frac{n_i}{n_t}^2 sin^2\theta)} +n_t\cos\theta}=\frac{n_i \sqrt{1 - (\frac{n_i}{n_t}^2(1-\cos^2\theta))} -n_t\cos\theta}{n_i \sqrt{1 - (\frac{n_i}{n_t}^2(1-\cos^2\theta))} +n_t\cos\theta}=\frac{\sqrt{1 - (\frac{1}{\eta}^2(1-\cos^2\theta))} -\eta\cos\theta}{\sqrt{1 - (\frac{1}{\eta}^2(1-\cos^2\theta))} +\eta\cos\theta}

(Note: For parallel case, “i” and “t” are swapped compare to equation in introduction to follow [2] notation. It doesn’t matter as the expression are square).

In hlsl this is:

text
float FresnelDielectricDielectric(float Eta, float CosTheta)
{
   float SinTheta2 = 1 - CosTheta * CosTheta;

   float t0 = sqrt(1 - (SinTheta2 / (Eta * Eta)));
   float t1 = Eta * t0;
   float t2 = Eta * CosTheta;

   float rs = (CosTheta - t1) / (CosTheta + t1);
   float rp = (t0 - t2) / (t0 + t2);

   return 0.5 * (rs * rs + rp * rp);
}

An equivalent expression can be derive from the [1] formulation by setting kt=0k_t=0. Source [7]:

c=cos⁡θc=\cos \theta

g=η2+c2−1g=\sqrt{\eta^2+ c^2-1}

R=(g−c)22(g+c)2(1+(c(g+c)−1)2(c(g−c)+1)2R=\frac{(g-c)^2}{2(g+c)^2}(1+\frac{(c(g+c)-1)^2}{(c(g-c)+1)^2}

If gg is imaginary, this indicates a total internal reflection and R=1R=1.

Note that’s here we get the reflectance directly. In hlsl this is:

text
float FresnelDielectricDielectric(float Eta, float CosTheta)
{
    float c = CosTheta;
    float temp = Eta* Eta + c * c - 1;

   if (temp < 0)
      return 1;

   float g = sqrt(temp);
   return 0.5 * Square((g - c) / (g + c)) *
                       (1 + Square(( (g + c)  * c - 1) / ((g - c) * c+ 1)));
}

Fresnel Schlick’s approximation

The Fresnel Schlick’s approximation [9] is widely used and knows (Call FresnelSchlick later) but its properties are not.

There is two possible versions of the approximation.

The first Schlick’s approximation use R(0)R(0), the  Fresnel reflectance at 0° (reflectance at normal incidence), also name specular color in PBR game :

R=R(0)+(1−R(0))(1−cos⁡θ)5R=R(0) + (1 - R(0))(1-\cos \theta)^5

in hlsl:

text
float3 FresnelSchlick(float3 SpecularColor, float3 E,float3 H)
{
    return SpecularColor + (1.0f - SpecularColor) * pow(1.0f - saturate(dot(E, H)), 5);
}

For conductor:

R(0)=(nt−ni)2+kt2(nt+ni)2+kt2=(η−1)2+ηk2(η+1)2+ηk2=Re((nt+ikt)−ni)((nt−ikt)−ni)((nt+ikt)+ni)((nt−ikt)+ni)R(0)=\frac{(n_t - n_i)^2+k_t^2}{(n_t + n_i)^2+k_t^2}=\frac{(\eta - 1)^2+\eta_k^2}{(\eta + 1)^2+\eta_k^2}=\mathrm{Re}{\frac{((n_t +\mathbf{i} k_t) -n_i)((n_t -\mathbf{i} k_t) -n_i) }{((n_t +\mathbf{i} k_t) +n_i)((n_t -\mathbf{i} k_t) +n_i)}}

For dielectric:

R(0)=(nt−ni)2(nt+ni)2=(η−1)2(η+1)2R(0)=\frac{(n_t - n_i)^2}{(n_t + n_i)^2}=\frac{(\eta - 1)^2}{(\eta + 1)^2}

In game we always define specular color as R(0)R(0) with ni=1n_i=1 for air as we always want to deal with air-dielectric/conductor interface. But if we need to interact with another interface like water-dielectric, we need to store another specular color. In case of specular color define for air-dielectric/conductor interface, IOR can be retrieving with:

nt=(1+R(0))(1−R(0))n_t=\frac{(1+\sqrt{R(0)})}{(1-\sqrt{R(0)})}

However for complex IOR there is no way to retrieve the correct ntn_t and ktk_t. So in case of multi layer BRDF prepare to move to parameters with complex IOR instead of specular color.

The FresnelSchlick (Blue) with air-dielectric interface is only accurate in the range 1.4<nt<2.21.4 < n_t < 2.2. Outside this range the relative error grows [8]:

FresnelSchlick

The accurate range still covers most use material in game (water at 1.33 still ok), so no need to worry too much about this.

The other form of the Schlick approximation is without R(0)R(0). This is exactly the same as the first one, just replace R(0) by one of the equality provided above:

Example for dielectric-dielectric:

R=(nt−ni)2+4ntni(1−cos⁡θ)5(nt+ni)2R=\frac{(n_t - n_i)^2+4 n_t n_i(1-\cos \theta)^5}{(n_t + n_i)^2}

Example for dielectric-conductor which is the formulation provide in Lazanyi et al [8].

R=(nt−ni)2+4ntni(1−cos⁡θ)5+kt2(nt+ni)2+kt2R=\frac{(n_t - n_i)^2+4 n_t n_i(1-\cos \theta)^5+k_t^2}{(n_t+n_i)^2+k_t^2}

The FresnelSchlick (Blue) for air-conductor don’t match exactly the Fresnel conductor equation (Red):

FresnelMetal

There is a noticeable “dip” just before going to white in case of several metals. Lazanyi et al [8] try to provide a better FresnelSchlick approximation for Metals. They try to add a compensation term −acos⁡θ(1−cos⁡θ)α-a \cos \theta (1 - \cos \theta)^\alpha to take into account the error introduce by the FresnelSchlick. The term is a rational approximation of the error between Fresnel equation and FresnelSchlick equation. Here is an example with nt=1.5n_t=1.5, nk=5n_k=5. Blue curve is the error term, red is the rational approximation with a=3a=3 and α=7\alpha=7:

ErrorFresnelMetal

They suggest to use a=2nta = 2 n_t but the α\alpha value is more problematic. To understand why, examine p (Red) and s-polarized (Yellow) curves of Fresnel equation for an air-dielectric interface (Left) and an air-conductor interface (Right):

BrewsterAngle

The left figure show that’s the “dip” come from the perpendicular curve. For dielectric, the  perpendicular curve crosses the 0 line at the Brewster’s angle: θb=ArcTan(nt/ni)=ArcTan(η)\theta_b = ArcTan(n_t / n_i) = ArcTan(\eta). The reflectance RpR_p does not reach zero for a conductor as it does for a dielectric, but the angle for which it is a minimum is called the pseudo Brewster. However there is no simple solution to retrieve it. That’s why the α\alpha is difficult to get right as it should be related to this pseudo-Brewster’s angle which define the local minimun of the error term.

Authors suggest that for most metal local minimun of the error term is somewhere between 0.1 and 0.15. I write a small “solver” in Mathematica to retrieve a good value. It retrieves the local minimum by brute force, then solves the error compensation equation with it. For the author’s case of nt=1.5n_t=1.5 and kt=5k_t=5 I get alpha=7.7alpha=7.7. Note that the calculated value is not the optimal value it just match the local minimum. Look at the Mathematica file if interested. The equation provided in the paper follow the second Schlick’s approximation form, so I reuse it here. Following graph show the result approximation  (Blue):

R=(nt−1)2+4nt(1−cos⁡θ)5+k2(n+1)2+k2−2ntcos⁡θ(1−cos⁡θ)αR=\frac{(n_t - 1)^2+4n_t(1-\cos \theta)^5+k^2}{(n+1)^2+k^2} -2 n_t \cos \theta (1 - \cos \theta)^\alpha for nt=1.5n_t=1.5, kt=5k_t=5 and alpha=7.7alpha=7.7

Fresnelschlickcompensation

Result is good, equation is cheap but only work for a particular case and need to be tune for each value (Remember that’s a metal IOR is chromatic and the process need to be done 3 times), so not really useful in practice. Anyway the visual impact of this “dip” is negligible and we can avoid it [8].

When ni>ntn_i > n_t mean we go to a less dense medium there is  TIR occuring at critical angle. θc=ArcSin(ntni)=ArcSin(η)\theta_c=ArcSin(\frac{n_t}{n_i})=ArcSin(\eta). FresnelSchlick don’t handle TIR. This can be fix by using cos⁡θt\cos \theta_t instead of cos⁡θi\cos \theta_i in the FresnelSchlick when ni>ntn_i > n_t. Here is a graph showing original Fresnel, FresnelSchlick (both curve an almost merged in brown) and FresnelSchlick with cos⁡θt\cos \theta_t (Blue) that I will call FresnelSchlickTIR for ni=1.33n_i=1.33 and nt=1n_t=1  (water-air interface):

FresnelSchlickTIR

In hlsl this gives:

text
float FresnelSchlickTIR(float nt, float ni, float3 n, float3 i)
{
   float R0 = (nt - ni) / (nt + ni);
   R0 *= R0;
   float CosX = dot(n, i);
   if (ni > nt)
   {
      float inv_eta = ni / nt;
      float SinT2 = inv_eta * inv_eta * (1.0f - CosX * CosX);
      if (SinT2 > 1.0f)
      {
         return 1.0f; // TIR
      }
      CosX = sqrt(1.0f - SinT2);
   }

   return R0 + (1.0f - R0) * pow(1.0 - CosX, 5.0);
}

With so much instruction the interest for FresnelSchlick start to decreases.

For an optimized FresnelSchlick formulation see Spherical Gaussian approximation for Blinn-Phong, Phong and Fresnel.

Reflect/Refract vector

Reflect and refract vector are derive from Snell ‘s law [4]:

Reflect:

text
float3 reflect( float3 i, float3 n )
{
  return i - 2.0 * n * dot(n, i);
}

Refract vector is calculated as:

t=ninti+(nintcos⁡θi−1−sin⁡2θt)nt= \frac{n_i}{n_t}i+(\frac{n_i}{n_t}\cos \theta_i-\sqrt{1-\sin^2\theta_t}) n

sin⁡2θt=nint2(1−cos⁡2θi)\sin^2\theta_t= \frac{n_i}{n_t}^2(1-\cos^2 \theta_i)

nint=1η\frac{n_i}{n_t}=\frac{1}{\eta}

The derivation for refraction vector can be found in [4].

text
float3 refract( float3 i, float3 n, float inv_eta )
{
  float cosi = dot(-i, n);
  float cost2 = 1.0f - inv_eta * inv_eta * (1.0f - cosi*cosi);
  float3 t = inv_eta * i + ((inv_eta * cosi - sqrt(abs(cost2))) * n);
  return t * (float3)(cost2 > 0);
}

Optimized version of refract can be done for specific IOR, see Water drop 3a – Physically based wet surfaces.

Mathematica

All the content of this post has been check in Mathematica. Here are the Mathematica files, one pdf: Fresnel and the notebook : Fresnel_nb (Right click, save, rename “.pdf” to “.nb” as wordpress don’t support zip files).

Reference

[1] Shirley, “Physically based lighting calculations for computer graphics”,  http://www.cs.virginia.edu/~jdl/bib/globillum/shirley_thesis.pdf[2] Wikipedia, “Fresnel equation”, http://en.wikipedia.org/wiki/Fresnel_equations [3] Pharr, Humphreys, “Physically based rendering book”, http://www.pbrt.org/[4]Greve, “Reflections and Refractions in Ray Tracing”,  http://graphics.stanford.edu/courses/cs148-10-summer/docs/2006–degreve–reflection_refraction.pdf[5] Möller, “Optics” book, http://www.springer.com/physics/optics+%26+lasers/book/978-0-387-26168-3[6] Siegel, Howell, “Thermal radiation hit transfer, 3rd edition” book, http://www.amazon.com/Thermal-Radiation-Heat-Transfer-5th/dp/1439805334 [7] Larsen,  “Shading a Surface using BRDFs”, http://www2.imm.dtu.dk/~jab/shaderday/ShadingASurfaceUsingBRDFs.ppt [8] Lazanyi, Szirmay-Kalos, “Fresnel term approximations for Metals” http://sirkan.iit.bme.hu/~szirmay/fresnel.pdf [9] Schlick, “An inexpensive BRDF model for physically based rendering”, http://www.cs.virginia.edu/~jdl/bib/appearance/analytic%20models/schlick94b.pdf