vertextexturecoords question

Blitz3D Forums/Blitz3D Programming/vertextexturecoords question

how can i position a texture at more than one location on a surface using vertex uvs? or is it not possible?

Yes, you can. Just put the vertexcoords of every vertex on the triangle (better use a quad, with 2 triangles) in the position of the texture.

Example:
.-----.
|    / |
|  /   |
./----.


The points are the vertex. So put their uvw in the position of the texture you want.

put your example between ["code"] and ["/code"]. ^^

p.s.: without quotes ;-]

s'ok ive found the light (or darklight as its a shadow routine) :)