for some reason the terrain import tool doesn't let me edit the second channel and instead overwrites the first channels material.
for anyone who has this issue i'm pretty sure you have to put each channel in order of R first then G then B