Changed TexCoord calculations to vertex shader