Added alpha blend function.