Trying to create normal from DDX and DDY but i get point and line like artifacts.

Trying to create normal from DDX and DDY but i get point and line like artifacts. The artifacts are almost a grid like pattern and change as i move the camera closer or farther away… in no way smooth or useable…

I have been following youtube videos and trying nodes like PreparePerturbNormalHQ->perturbNormalHQ…

all seem to have the same problems and i dont know why. Im attempting it on relatively low res textures i painted on meshes for in unreals texture paint on mesh tool for nanite meshes.

Any ideas what can be done? I just need a normal map from a heightmap without the extra texture lookups / instructions.

Here are screenshots…

unlikely, but seems a lot like moire effects.
i don’t know the exact solution, but once i saw a video from about tv screens on ue https://www.youtube.com/watch?v=LGkblrCmzlE
maybe you get some inspiration there.