I forget the different states, but look at these:

AddressU = Clamp; // don't wrap around edges
AddressV = Clamp; // don't wrap around edges


Edit: which you just did! Cool.


As for the tiling, you will have to revisit your coordinates in the lines:
tps = mul(Pos, matMtl) * 0.01f;
tps = (tps * 0.5f) + 0.5f;

I have not done anything similar in a year or so, so I am not sure what formulas you should try.


Last edited by Steempipe; 10/19/07 18:32.