Added alpha blending function.