2
$\begingroup$

I keep reading about fresnel and there is one thing I don't fully understand.

My understanding :

Here is my understanding so far, so please correct me where I am wrong.

  1. Fresnel is related to ior (eta) of the surface. Snell's law enable to know where the ray should "go" when going through a surface with different ior. Fresnel is of use to know how much light reflects / is transmitted.
  2. Applying Schlick's approximation enables to know the proportion of the reflected vs the refracted light.

Now, my question:

When a ray of light touches a refractable surface (glass..), I apply the Schlick's approximation which gives a coefficient.

But does that mean that I take the ray and calculate both its reflection and transmission angles; and then, given the fresnel coefficient, reshoot the ray in both directions (reflection and refraction) but with the power of each rays further attenuated with the coefficient.

Or is it only one ray with reduced power ?

All my readings don't make that point clear.

Example

For an incident ray touching the surface with a power of 1, and a fresnel coefficient of 0.5, both reflected and refracted rays will both be 0.5 before leaving the surface.

Is my understanding correct?

Thanks

$\endgroup$
2
  • 2
    $\begingroup$ You have to shoot both reflected and refracted rays. Though if you are doing a progressive raytracer, you can use Monte-Carlo to randomly go either the reflection or refraction route once per iteration so you don't have to do both in one go. If you don't do both you'll obviously miss out the color coming from either path. So if you don't do refraction how will you be able to see through glass? $\endgroup$ Commented Mar 7, 2023 at 23:37
  • $\begingroup$ @gallickgunner: +1 (i will put it when my rep is high enough, or someone else can). Yes, it seems logical, I've already implemented it that way in the meantime. $\endgroup$
    – LeXav
    Commented Mar 9, 2023 at 7:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.