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 mreeves_ · Jun 14, 2015 at 01:45 PM · terrainbeginnerheightmap

Help with Height map?

I am really, really new to Unity (but its been great so far!) and I found out the other day that you can import height maps for your terrain. I found a tutorial the other day and they used Photoshop to edit it and get to be a raw. So I did all that and in the end found out my resolution was too big. Does anyone have any tips, better tutorials, or suggestions they can give me? Thanks! (Also, any terrain beginner tips and or tutorials? Thanks! :D)

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Lerzpftz · Jun 15, 2015 at 09:09 AM

I think the maximum heightmap resolution is 4097 per terrain, but i'm not completely sure about that. Anyway - this doesnt matter a lot, since you probably want to go with a lower resolution like 2049 or 1025. A too high resolutions will have a quite big impact on render performance, especially when terrain details and vegetation come into play.

Depending on how big you want your terrain, you have several options.

  1. For a limited number of tiles and a one time import, you could split your data manually into raw files using photoshop and import them in several unity terrains.

  2. If you don't want to do this by hand, you may check out the example linked on ScrawkBlog (Note: I didn't test the example project he linked there, but usually he provides pretty good info over there.)

  3. Should you plan to work with really huge terrains, that won't fit into memory, you will need some kind of (preferably async) loading process, a terrain tile and a location manager. This is where it gets pretty complicated and i would suggest you try something smaller first to gain some experience. (or check out the asset store for existing solutions)

One important thing to remember if you work with more than one terrain, is to call SetNeighbors on those terrains, so unity can handle lod on terrain borders correctly.

You may also want to check out the answers here and here to a somewhat similar question.

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 mreeves_ · Jun 18, 2015 at 04:08 PM 0
Share

Thank you for all the help!

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Randomized terrain? 0 Answers

Smoothing Terrain after setting its Heightmap in a script 0 Answers

Terrain flipped, then texture doesnt line up? 2 Answers

Height map resolution clarification 1 Answer

Terrain height map influences ocean wave heights? 2 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