terrain texturing

Blitz3D Forums/Blitz3D Beginners Area/terrain texturing

ringwraith(Posted 2006) [#1]
hi,
I'm working on a mesh terrain editor for my game and i've tried several different ways for texturing including using one big texture for each surface of the terrain and painting to that or switching the surface of individual triangles. Both these ways work fine, but I can't figure out how to achieve an effect where the textures sort of fade into eachother like in ALE or TED where the textures sort of fade into eachother. The way it is now, there's just a really sharp distinction from one texture to another. I'd really appreciate it if someone could tell me what sort of techniques are used to get that sort of effect.


Myrmydon(Posted 2006) [#2]
try multi texturing (see Blitz basic 3d manual)


Matty(Posted 2006) [#3]
To get it the textures to fade into each other you need to use vertex alpha, or an alpha map and multiple surfaces.

Basically you would have the 'bottom' mesh as dirt for instance, then a second mesh over the top of that (a copy) with a 'grass' texture which has vertex alpha set so that the textures blend together.

That should get you started hopefully.


ringwraith(Posted 2006) [#4]
thanks, i'll try it