Put a second image (detail map)into your terrain then write in main something like
var detail_size = 4; , adjust as needed.