updated path projection to put in texture coordinates