Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to build an underwater scene. I'm including my scene in a large cube, which I'm going to texture with images that resemble an underwater environment. Where can I get textures for something of that sort?

share|improve this question
up vote 1 down vote accepted

I used the textures from this file used in the GLUT Caustics Example for a game I did ten years ago. Might work for you too.

It's an animation as a set of textures. Load them as a 3d texture for smooth interpolation when rendering, then use projective texturing to compute texture coordinates. The technique explained in the article (albeit with a pretty old OpenGL version, today you'd use a shader instead).

share|improve this answer

Waves creates caustics (as magnifier does for example). Caustics are moving (becuase waves are moving). Real caustics cannot be simulated in realtime, so for realtime it has to be faked somehow.

GPU Gems for the rescue: Rendering Water Caustics

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.