Procedural textures?

Hi all. I’m working on a landscape simulator in OpenGL, and I’m wondering what the deal is with procedural textures – is there any way for me to render them within OpenGL?

Any help would be greatly appreciated.

Sure. You render polys with them like you would with any nonprocedural texture. If the texture is not animated in real time, just load it into OpenGL like any other texture. If it is to be animated in real-time, it would be wise to use glTexSubImage
to load the image into GL and over the previous frame of that texture image.

You can also use procedural textures as height maps, namely using the famous perlin’s noise function.

Antonio www.fatech.com/tech