1
$\begingroup$

So I've been working with a displacement map through the shader editor in 2.8 because I need to create a terrain, I need it in Unreal but given I don't have the means to something like World Machine it seemed like Blender would be able to do it, but I haven't had that much luck, I've got a height map but it really looks nothing like the displacement I have in Blender so I'll cut to my question. Can I get a proper terrain height map in blender?

Can I get this enter image description here

enter image description here

Out of this? Or is Blender or any plugin not capable of getting that kind of definition out of a displacement map or modifier?

$\endgroup$
1
$\begingroup$

Let's say you have a landscape like this:

enter image description here

Set the camera to orthographic mode, and place it so that is perpendicular to the landscape.

Adjust the Orhographic scale so that the landscape is completely viewable through the camera (You might need to adjust the render resolution size in the render settings) enter image description here

Render the image.

In the compositor connect the depth socket of the render layer to a Vector->Normalize Node. (This will convert the depth information to a scale from 0 to 1).

Make sure that the Display Device in the color management section is set to None (so that the image information is not distorted using a view transform).

enter image description here

When importing into other software you will need to set the image to be interpreted as data, not using any color transform.

The quality of the heght map will depend on the amount of detail in the original geometry of the landscape, and of the size (in pixels) of the final image.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.