Press S to select sand, repress to deselect Press N to select snow, repress to deselect Press space to generate materials in the position of the mouse.