The terrain on the map is very sharp

There is a grayscale map of the terrain.

This is the generated topographic map.

It looks very steep, not as flat as the white in the topographic map.

What is the numeric value of the gray color?

Pure white transparency 0.05


The pure white block is still very sharp

May I ask how this is caused and how to modify this issue

Well, I am not sure how you are using that color value. In principle, you should be converting it to some normalized scale in 0-1 range and then map to your desired min/max Y component of the vertex position.

position.y = min + (max - min) * gradient;

So, I guess your min/max are too large? Maybe you could make a simple repro project, so someone could take a look at?

1 Like