How to create a beveled transition between 2 materials blended using vertex paint?

Hi everyone!

I’m wondering how to create this type of effect:

brick_blend

This particular image was created in Substance Painter, but I want to achieve the same effect in UE. I know that it’s 100% possible, here’s an example:


This image has been taken from here - ArtStation - Oblivion - the artwork looks awesome, but the author unfortunately doesn’t provide a comprehensive enough guide on how to recreate the effect.

No ideas at all?..

Well, I managed to create this myself using PerturbHQ node:

But I’m not satisfied with the quality. From a sharp angle the slope looks jagged and pixelated like a low res texture without any filtering or antialiasing:

The issue gets even worse when zooming out:

As far as I understand it’s due to the nature of DDX and DDY calculations which are involved in PerturbNormalsHQ node, but… is there a way to mimic or force apply some sort of filtering to that?