Vertex to fragment shader interpolation using vertex attributes