Tile a texture on a entity

Blitz3D Forums/Blitz3D Beginners Area/Tile a texture on a entity

jigga619(Posted 2004) [#1]
How do you tile a texture on a entity.
For example, in my code, I have

object1=loadmesh("box.3ds")

tex1=loadtexture("brick.bmp")

entitytexture object1,tex1

This is cool, but I want the texture tiled so the box looks
bigger. How do I tile the texture?


Warren(Posted 2004) [#2]
You need to adjust the UV coords of the vertices in the mesh to something greater than 0-1.


Shambler(Posted 2004) [#3]
ScaleTexture mytex,0.5,0.5 etc.


Warren(Posted 2004) [#4]
If you're only using that texture in one situation, then yes.