Is it possible to bevel the outline of a procedural texture?
This would be the desired effect (result prepared with an image editor):
For example, we have the default Brick Texture, and its Mortar Size can be thickened, but there is no built-in parameter to taper off the edge with a bevel to give it a more rounded look.
Bricks with the default settings (left) and thickened mortar (right)
The best idea I can think of is to stack Brick Texture nodes of different Mortar Sizes to create a stepped gradient. That however has resolution limitations, plus using that many nodes may negatively impact render time.
So I am wondering if anyone with a bit more vector know-how than myself knows of a way to generate a vector curve that transitions between two mortar sizes to achieve the result more elegantly. Any ideas?
Here is a concept image - the blue curves representing the vector transition: