OpenGL Headline News

Reflection/refraction demo using the OpenGL API

Category: DevelopersComments

Jun 18, 2004

This OpenGL API-based demo renders an object with reflections and refractions. As an extra twist, the refractions are also blurred and tinted depending on the thickness of the object, resulting in an effect somewhat like frosted glass. You can see through it, but the thicker the object, the harder it gets to make out what’s on the other side. The thickness is estimated by subtracting front-face and back-face depths. The demo requires an NVidia card (GeForce FX or better).

Read more OpenGL news