if I make a cube 10 times smaller, and so I want to make the UV remap also 10 times smaller, I remap all the ones on the cube to 0.1, except when I do it it looks like it’s and one colour / one pixel?
ns = 10;
var mesh : Mesh = cube.GetComponent(MeshFilter).mesh;//change the square so that the UVs map okay
var vertices : Vector3[] = mesh.vertices;
var uvs : Vector2[] = new Vector2[vertices.Length];
for (var i = 0 ; i < uvs.Length; i++){
if ( uvs_.x == 1 ){ uvs*.x = 1/ns ;}*_
if ( uvs_.y == 1 ){ uvs*.y = 1/ns ;}
}
mesh.uv = uvs;*_
![alt text][1]
_*[1]: http://i50.tinypic.com/2ajbais.jpg*_