Is it possible to change material overtime by keyframes in swipe effect?
Using a simple gradient and color ramp will allow you to control two different materials for the same object:



Then is just a matter of animating the value for the mapping.