Tile texture on mesh?

Blitz3D Forums/Blitz3D Programming/Tile texture on mesh?

I think he want to use the same texture on both meshes so Ross's method won't work for the reasons he explained.

Say you had a quad 64 x 64 with uv's set as 0,0 ; 1,0 ; 1,1 ; 0,1 from top left corner going clockwise. To make the same texture repeat x 2 on a 128 x 64 quad set the uv's as 0,0 ; 2,0 ; 2,1 ; 0,1.

You will also have to ensure that you don't set the clamp U and clamp V flags otherwise it won't work.

Make sense?