Weird VertexTexCoords behaviour?

Blitz3D Forums/Blitz3D Programming/Weird VertexTexCoords behaviour?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

I wouldn't use two sets of uv co-ords for that. Because, when you load a texture in, you can move the texture anyways. So just do:


<createvertexs/triangles>

tex=loadtexture("firsttex.bmp")
tex2=loadtexture("shadow.bmp")

EntityTexture model,tex,0,0
EntityTexture model,tex2,0,1

MoveTexture tex2,0.5,0.2 ;<<<<line for moving texture.



Make sure that you use the two clamp flags, so the texture doesn't get tiled. No need to use 2 sets of UV Co-ords :)