We have been working to create a height map output with the shader editor. We have a plane that has been sculpted into a terrain.
We have applied a material with the following node setup to get the correct white to black shading according to height:
The middle color stop in the color ramp has its color set to HSV and the H is 0, S is 0, and V is 0.5.
The shading this applies to the object is then recorded by a camera directly above it, with all rotation axes set to 0. Under the camera tab, its lens type is set to orthographic and the scale was set up so it would frame the object correctly.
However, when I import the height map this makes into Godot and set it up, there is a crease where the grayscale has changed color way too quickly, and the high points of the map are squished down.
What else needs to be adjusted here in order for this to work?