Get vertices from a texture instead of a buffer.