How to change textures during an animation