Perspective corrected interpolation and pixel shader added.