Tag Info

New answers tagged

0

Try to change the tris for loop to ++ instead of +=3: for(int i = 0; i < m.vertices.Length-3; i++){ tris.Add(i+2); tris.Add(i+1); tris.Add(i); } Each 2 neighboring triangles have 2 shared vertices, so += 3 would skip 2 triangles each time.



Top 50 recent answers are included