This worked, but not as i hoped. I want to change the size freely, not just the level of tiling.

Ive been fiddling around with the code in readbeta without any luck so far, the only thing that happens is that the texture get all wash out, like it only uses one pixel from the skin or something, any ideas any one?

______________________________________

function mtl_shift_texture()
{
mtl.skill1 += time; // shift texture left
mtl.matrix41 = floatd(mtl.skill1,1000); // change texture u offset by 0.001 units
}

material shifter
{


effect = "
matrix matMtl;
technique scale {
// use material transformation matrix, leave everything else at default values
pass p0
{
TextureTransformFlags[0] = Count2; // use u,v values
TextureTransform[0] = <matMtl>;
} }
technique fallback { pass p0 { } }
";