OpenGL Headline News
Sep 10, 2004
This article on rendering water using a planar reflection technique is the first in a series on realistic natural phenomena rendering for the intermediate to experienced graphics programmer. Source snippets and pseudo code are provided for many important functions, and the amount of math is kept to the relevant minimum. Concrete examples are written according to the OpenGL API. Many of the effects presented are very shader heavy, mostly targeting current generation 3D chipsets. All shader code is written in the Cg language, but porting it to to the OpenGL Shading Language should be straightforward.