I don't always have access to software like Photoshop to create my textures. This is why I wanted to create simple geometric shapes using only nodes (mathematical functions) in the material editor of Unreal Engine. Besides, using this method, it is much easier to create new instances without having to redraw.
Depending on the shapes, I repeated the process two or three times for each of the material to get a whole shape, a half-empty shape, and an empty shape with smaller borders.
Inspired by a video Cowsmanaut did | Link to reference: https://youtu.be/rVWfS_bhltc?t=2
And by a video Yoeri -Luos- Vleer did | Link to reference: https://youtu.be/rmoDHJnjF7g
And based on this link too: https://realtimevfx.com/t/no-more-textures/9526/5
And this video from Mokomo: https://youtu.be/kcJI5EcpNaE?t=1