how to generate procedural textures for materials

Hello, guys, I want to generate procedural textures in UE4 materials. I can achieve this very easily in the blender as shown in the screenshots below. any help would be appreciated

Using custom code-nodes, but you shouldn’t. Having worked with Blender you should know that it’s not ideal for real time, especially for responsive, realtime applications. Middleground would be baking various recycleable textures inside Blender and manipulaing those inside UE.

Thank you for your answer. By the way I am using eevee in blender to render in real time and even i have 1000’s of meshes with this procedural material and be able to animate and view my scene in real time in render mode

Embergen can simulate and render accurate fire / smoke simulations in real time that would take minutes per frame to calculate and render in Cycles, but that’s not really an useful comparison. They work quite differently and have their own unique strengths and limitations. With UE, you can’t directly translate procedural textures and their performance, even if they are technically easily implementable.

If you still want to do that, one way to do it would be to create a custom material function to replicate procedural texture nodes from Blender. In it, use a custom code-node to read the material function’s inputs (such as scale etc), look up math for a texture type of choice (such as voronoi), and use that. Please be aware that procedural textures for colour or pbr values is going to be computationally expensive, and generated normals would be an absurd waste of resources.