Thanks Caff, I'll have a look :)
And Jsoren, right now, I have 2 textures applied to the terrain, one is a "detail" texture to make it appear rough, and the color map is generated according to heights, I made a pre-defined array which has a different color for each elevation (sand color for areas close to water, grass for middle elevations, and rock for higher elevations.
I also use a modified version of Flynn's terrain shadow mapper and mix that with the color map, to give the effect of lighting on the terrain
the little map in the bottom-right corner is basically the generated colormap, shrunk down
thanks guys
And Jsoren, right now, I have 2 textures applied to the terrain, one is a "detail" texture to make it appear rough, and the color map is generated according to heights, I made a pre-defined array which has a different color for each elevation (sand color for areas close to water, grass for middle elevations, and rock for higher elevations.
I also use a modified version of Flynn's terrain shadow mapper and mix that with the color map, to give the effect of lighting on the terrain
the little map in the bottom-right corner is basically the generated colormap, shrunk down
thanks guys