I've always loved your rock work Rene. Thanks for trying this out.
Yeah you're right Ulco, you have to be careful with any displacement, those inside-out normals can be a real pain. I was playing around with a 'minecraft' type of function, which sort of works, but as you can see from the two pics below have issues.
This uses the modulo function to break up an input terrain into cubes. It's more of a proof of concept. It's a bit clunky as you can see by the texture 'flags' you can see on the tops.
[attachimg=1]
Here's the same terrain and function, but with a random expansion per zone. Different light position too. Again more issues to work out. Neither needs a Compute at this stage.
[attachimg=2]