Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by NPS · Mar 07, 2014 at 01:46 PM · terrainresize

Is it possible to change the resolution of a Terrain?

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?

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AlucardJay · Mar 07, 2014 at 06:02 PM 0
Share

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).

avatar image NPS · Mar 07, 2014 at 09:22 PM 0
Share

@alucardj $$anonymous$$ake it an answer and I'll accept.

6 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Eric5h5 · Mar 07, 2014 at 09:36 PM

You could export the terrain as an .obj file, change the resolution, then convert the mesh back into a terrain.

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image NPS · Mar 08, 2014 at 07:17 PM 0
Share

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).

avatar image Eric5h5 · Mar 08, 2014 at 08:19 PM 0
Share

Lower the resolution when exporting, so the mesh won't get split.

avatar image NPS · Mar 08, 2014 at 09:01 PM 0
Share

If I could change the resolution I wouldn't need these scripts. :P

avatar image Eric5h5 · Mar 08, 2014 at 09:20 PM 0
Share

Lower the resolution when you're exporting, using the script. I didn't say change the resolution of the terrain.

avatar image NPS · Mar 08, 2014 at 10:36 PM 0
Share

I'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.

avatar image
1

Answer by AxonGenesis · Nov 26, 2019 at 10:54 PM

  1. Select your terrain and go the settings tab in the inspector

  2. Scroll down to the section "Texture Resolutions (On Terrain Data)"

  3. 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

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image cwk17 · May 17, 2021 at 10:00 AM 0
Share

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! :)

avatar image
-1

Answer by SeaPeaMe · Nov 09, 2019 at 09:18 AM

Try going into: Terrain Settings > Texture Resolutions then turn up/down the Heightmap Resolution

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
-2

Answer by atique6 · Mar 08, 2014 at 09:10 PM

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Eric5h5 · Mar 08, 2014 at 09:21 PM 0
Share

That's not the resolution of the terrain, that's just the size.

avatar image
0

Answer by nocturnalking · Mar 07, 2014 at 02:16 PM

basically 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

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image NPS · Mar 07, 2014 at 02:42 PM 0
Share

I'm sorry, my question was probably unclear - I want to change the resolution (heightmap image's size), not the objects width/length/height.

  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

28 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity 5 Reisizing problem 1 Answer

How to make a Unity Terrain Bigger 1 Answer

How do I cut off a section of my terrain? 2 Answers

How do i adjust terrain texture sizes via script 1 Answer

How do I alter the terrain size with the new unity? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges