EntityTexture Question

Blitz3D Forums/Blitz3D Programming/EntityTexture Question

Hi !

I create a nice texture for my landscape now I would like
to add detail in it !

What I would like to do is to make another big texture that will cover the landscape like the color texture, but with detail only, I don't want to use one small texture of 256x256 over all over my land..

terrain = LoadTerrain ("TestBig.bmp") ;load the heightmap
ScaleEntity terrain, 1, 100, 1 ; does't scale the landscape

ground = LoadTexture ("Detail1.jpg")
EntityTexture terrain, ground,2,2,; repeat it across the landscape to give detail when close up


What I don't know is... EntityTexture terrain, ground,2,2
the 2,2 value mean 512/2 = 256 so the texture is stretched
to be able to apply it 256 time .... if I try to make a big detail texture how can i resize a picture of 256 at that size without loosing quality ? Blitz3d does't seem to have trouble stretching it , so what is the trick ?