Skip to content
Discussion options

You must be logged in to vote

You need a heightmap. An obj you can convert.

  1. Import into Godot.
  2. Size it as big as you want.
  3. Write a simple script that creates an Image that matches the size of the terrain (eg 4096x4096), Format_RF.
  4. Run a raycast on every position in a grid from (0,0), (0,1)... (1,1), (1,2), (1,3).... (4095, 4095). Assign that height to a Color.r, and set_pixel to assign it to the image.
  5. Save the image to disk.
  6. Import the heightmap into Terrain3D per our documentation.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by TokisanGames
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants