How to Blend B/W Grass/Dirt like in Torchlight 2?

It could be a mask or some type of black and white image that is set up to achive the hard edge shape.