... during runtime?

Ok, I've got a terrain with a size of 4000 quants, scaled in my project to 8000 quants. My textures had a size of 1024 x 1024. How can I change the textures on the terrain during runtime?