How to make "split" face and put texture on it?

Hello everybody, I need a litle help. How can I model this fence? Would be important for the surface to be like this in the photos ( split face ) , with texture on it. Any tips?

I take it this is about the split rock material. You can apply the material on each face of the 3D modeled structure and use ‘right click > texture > position’ per each face to adjust the look of it.
You’ll need to find a proper rock texture an tweak (scale and/or stretch) its size first.