- Home /
Set Hightmap resolution while importing custom heightmap texture?
Is it possible to somehow set Heightmap resolution in heightmap importer. For Example I made 129x129 terrain Heightmap in Blender, I want it's height x lenght to be 1km x 1km and have a resolution of 513, so that each pixel in my Heightmap texture would be equivalent to 10 meters and would be made of 4x4 quads...
Some of my math here might not be correct, but I'm able to get this by messing with terrain settings, but havn't figured out how to make this work With IMPORTING HEIGHTMAPS, because if I try to change the resolution after importing, it just resets the terrain to flat plane.
I know that I could use higher resolution texture to get a desired result, but is there a way to make importer sweat and do some calculations like it is supposed to?
Answer by Eric5h5 · Nov 27, 2016 at 11:48 AM
The importer doesn't have any ability to resize terrain heightmaps. Scaling 129x129 to 513x513 would look bad anyway; simple scaling can't create more detail from nothing. You can write a script to do the scaling if you really want to though.
Your answer
Follow this Question
Related Questions
Ridges on terrain with lowering/raising height? 1 Answer
Why is my terrain so bumpy when I use heightmaps? 1 Answer
What makes up the binary data of a 16-bit heightmap? 0 Answers
Why does assigning heightmapResolution increase the size of my terrain? 2 Answers
Unity imports heightmaps in kind of upside down order. 0 Answers