Texturing triangles is slow, but working