Round Corners Material base (LIke Vray , Corona , Octane etc)

have you looked at Round Edge Material: Real-Time Smooth Corners for ArchViz | Fab ?

if you want to do this yourself it’d probably be some sort of spatial derivative approach using the normals of the object… but i’m no shader specialist.