Creating normal map from Float

Hello everybody,

I am getting crazy in trying to do something in UE which seems to be really simple

I want to convert a black and white map into a normal map in the material editor
Normaly, when it is about converting a texture object into a normal, I use the NormalFromHeightmap function and everything works perfect
This time I’m trying to convert a GeneratedBand into and plug it into my normal slot (Of course it could be anything in greyscale such as a noise etc.)
As the NormalFromHeightmap only accepts textures objects (T2D) as an input I can’t do anything with my Vector3 output (except crying)

I searched for some information and the NormalFromFunction seems to be an option
Unfortunately, it is hard to find a tutorial about this function (event the UE doc doesn’t mention it)
It seems it can generate a normal if, for example, you generate 3 different GeneratedBands (or anything else such as noise) with a small offset variation
I’m sure I’m wrong somewhere as this process seems really tedious when you deal with complex procedural generated textures

I also searched a way to convert a Vector3 into a texture object but I didn’t find anything

For short I’m just looking for a NormalFromHeightmap function that accepts Float input

I hope some Unreal Genius will read my post and help me as I’m totaly desperate
Thanks in advance
Best,

1 Like