View Full Version : How can I render glass in OpenGL?

01-20-2004, 01:10 AM
How can I render glass in OpenGL?

01-20-2004, 02:08 AM
It depends on the level of realism you want to achieve http://www.opengl.org/discussion_boards/ubb/smile.gif

To start, I advise you to use blending + reflection mapping.
For blending, see : http://nehe.gamedev.net/lesson.asp?index=02

For complex stuff, nvidia has some great demos with true reflection/refraction with fresnel coefficients. http://developer.nvidia.com/object/vertexprogram_refraction.html