Change Landscape Material/Textures at Runtime?

OK, so I managed to do it and it goes like this. The landscape itself has to have “Use dynamic material instance” option checked.

You do have to create a material instance with a proper parameter ofc.