PDA

View Full Version : terrain textureing



c_olin
08-01-2003, 07:10 PM
I'm using NeHe's terrain renderer... and its pretty good... but, now i have to work on textureing, what im going to do is put a simple colormap over the whole thing then tile a detail texture over the top, jsut like planetside's terrain, but, how would i overlay 1 texture over the whole terrain?

thanks!

JanHH
08-01-2003, 08:40 PM
you can use the terrain vertex coordinates (x and z/y)as texture coordinates, multiplied by a factor.