I was wondering if the refract instruction in GLSL is accurate from a physical point of view.
I mean that, is the vectorial approach used to compute the refraction vector in GLSL gives the same result as if we applied the law of Snell-Descartes in Physics ?
If it is an approximation, does someone know its quality ?