Create a normal map inside Unreal 4?

Fwiw there is already a checker material function checked in here:

MaterialFunction’/Engine/ArtTools/RenderToTexture/MaterialFunctions/CheckerPattern.CheckerPattern’

no If nodes, its set up a bit more like the 2nd example but no clamps.