Bilinear interpolation on a quadrilateral using Barycentric coordinates (gpuopen.com)
In computer graphics, we rarely encounter continuous data.