Another day, took me some time get everything figured out and next time I will do the edge a bit different ( now there just an array of cubes), but still learned some things and the result is not too bad, as it doesn’t have to be photorealistic…
@ Jere, I have also been trying to figure out a way to make a game ready version of something like this, but so far I wasn’t able to.