More textures

hi, i have generated nice heightmap and i have 3 24bit alphamaps and 9 textures.
but i can only add 1 material with 3 textures :confused: or is there a way to combine materials?
or any other way to put all those textures on terrain?

ah just found out TerrainLighting.j3md, works well