Imported heightmap landscape formula? I have a png with 4096x4096 pixels and also meters, and 0.1 pixel value per 100 meters in height but can get it right


In blue a LOD2 original terrain, and in green the terrain generated using landscape tool. The PNG is linear, its a 4096x4096 pixels, meaning also 4096x4096 meters, and its pixel values, you can see here:

Why can i get this right? Even changing the scale in Unreal the terrain looks flattened in the extremes, looks like the engine uses a log or some sort of math behind the scale of the terrain.

How to have a 1:1 terrain with real world measures?