exceptionally easy approach to the Reflection and Refraction of light on ofMesh / ofVbo
README
ofxReflectionRefraction
First Test Real Time Reflection and Refraction of Light materials Mirror/Glass. A convenient winding #GLSL for #openFrameworks applicable ofMesh/ofVbo.
Concepts and basic math: http://en.wikipedia.org/wiki/Refractive_index http://en.wikipedia.org/wiki/Schlick%27s_approximation https://en.wikipedia.org/wiki/Fresnel_equations
Other Texture3D: http://www.humus.name/index.php?page=Textures
video: https://www.youtube.com/watch?v=eku8l7SfzmY
ofxAddons