I’ve already created a Terrain (modelled it) but it turns out the default 512x512 resolution is not enough for me. I tried the Terrain->Set Resolution... to change its resolution to 2048x2048 but it didn’t resize my terrain - it created a new, flat one. Is it impossible to change the resolution of an already created Terrain?
6 Answers
6- Select your terrain and go the settings tab in the inspector
- Scroll down to the section “Texture Resolutions (On Terrain Data)”
- Enter the new Heightmap Resolution you want and click ‘Resize’
This maintains the current details of the mesh so you do not have to export and reimport stuff. Not sure when this feature was added, but tested as of Unity 2019.2.13f1
So that's the working answer, indeed. I just made my terrain render at 150FPS from around 50FPS and that's just what I wanted. Thanks! :)
– cwk17basically only increasing the length and width wont help after increasing the length and width you need to increase terrain density too.
try it i m not sure though
I'm sorry, my question was probably unclear - I want to change the resolution (heightmap image's size), not the objects width/length/height.
– NPSSelect terrain and in the inspector find terrain settings, under the Resolution title you can change terrain width, length and height.
I'm sorry, my question was probably unclear - I want to change the resolution (heightmap image's size), not the objects width/length/height. Also, I don't have such a field there: ![alt text][1] [1]: /storage/temp/23234-a.png
– NPSYou could export the terrain as an .obj file, change the resolution, then convert the mesh back into a terrain.
Tried it but the 1st script divided my terrain into 9 slices (9 separate meshes) and I failed to recreate a terrain from any of them (maybe I was using it wrong).
– NPSLower the resolution when you're exporting, using the script. I didn't say change the resolution of the terrain.
– Eric5h5I'm sorry, didn't understand you. Well, lowering the resolution means worsening the quality (and quite significantly in my case) so it doesn't cut it for me.
– NPSTry going into: Terrain Settings > Texture Resolutions then turn up/down the Heightmap Resolution
click on terrain, there is a setting icon, clicking on it leads u to resolution. In the resolution change terrain width , height and length. But doing so can affect the position of other game objects like road, cars, trees, building present in the terrain. So u need to edit their position as well after changing terrain resolution.
I feel your pain bro. I can't find information ANYWHERE as to how to change the mesh resolution... It seems like the standard is to let the LOD system manage the density... But there are reasons not to use the LOD system...
– eradifyerao
nope :( You have to create a script to read the heights of the original terrain, then modify the new terrain data with this information, interpolating every second height otherwise you'll end up with blocky terrain. Same process if you double the splatmap resolution. Tree and detail instances data should be ok just to copy over (not entirely sure on that though).
– AlucardJay@alucardj Make it an answer and I'll accept.
– NPS