applying mat2d transform to the uniform matrix.