terrain texture

Blitz3D Forums/Blitz3D Programming/terrain texture

Jeroen(Posted 2004) [#1]
Hi!

I'd like to stretch a texture on a terrain so that it does not tile in X and Y (the texture becomes just as big as the terrain). How can I do this?

Thanks,

Jeroen


Jeroen(Posted 2004) [#2]
Got it. Easy: texture size must be equal to bitmap (heightmap).


Dreamora(Posted 2004) [#3]
or you do scaletexture terraintexture, imagewidth( heightmap ), imageheight( heightmap )