The almighty Humus releases yet another demo
It's a demo of a pretty realistic water surface. The waves are created dynamically by generating a texture with some perlin noise. The refraction is done by rendering the scene to a texture and then the wave texture is used to pertube the texture coordinates on a per pixel level in a fragment shader. Similarily for the reflections, except that they are rendered to the texture with y inverted. Finally, I combine the refraction and reflection by interpolating between them depending on the view angle.
Works on Radeon 8500 only at this time.
Get it here:
http://esprit.campus.luth.se/~humus/?page=3D
It's a demo of a pretty realistic water surface. The waves are created dynamically by generating a texture with some perlin noise. The refraction is done by rendering the scene to a texture and then the wave texture is used to pertube the texture coordinates on a per pixel level in a fragment shader. Similarily for the reflections, except that they are rendered to the texture with y inverted. Finally, I combine the refraction and reflection by interpolating between them depending on the view angle.
Works on Radeon 8500 only at this time.
Get it here:
http://esprit.campus.luth.se/~humus/?page=3D