I have been working on this for quite some time (on and off for about a month). It is a shader that generates bricks handling color, roughness, bump, glossiness and allowing for the bricks to have puddles. Here is a propaganda / showcase video:
You can find the code here (MIT-lisenced, aka. do whatever you want to do with it) and the blend (CC-0) on blendwap here. It doubles as a material library, as it contains 30 presets:
Wow, really nice. Sad that nobody use OSL because of it’s speed, I’m sure you would have gotten much more comments. But first version is already really good Thank you for sharing.