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
2
Question by FourSheds · Apr 17, 2012 at 09:43 AM · terrainperformancedraw calls

Bizarre Terrain-Drawcalls inconsistency?

Hi

Working with a 1k x 1k terrain at 513 resolution, I noticed that the Draw Call count had become very high at around 900 (at a a particular camera location where most is visible). I suspected this was wrong, so I replaced it with an identical new terrain, and saw the draw calls drop to about 350.

This is what I did:

Removed everything from the scene except the terrain, with 1 directional light, 1 fixed camera, no details/trees on the terrain, 1 splat texture across the whole thing. Exported a height map, then re-imported it so I knew I had an exact reference height map: 900 Drawcalls

Next... Disabled the original terrain in the inspector. Created a new terrain of identical size/resolution/position, imported the saved height map, and added the single splat texture. Visibly and in every other way it is now an identical scene: 350 Drawcalls!

The whole process is repeatable. Can anyone suggest any possible explanation for this huge difference in performance across 2 identical terrains?

Thanks.

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 FourSheds · Apr 19, 2012 at 01:22 PM 0
Share

Hmmm... after some more experimentation, I can see via the wireframe that a terrain that has smooth flat sections, still has a high subdivision level in those places. I'll report a bug (unless anyone has a better explanation), as it seems a terrain that has been edited a lot can retain some unnecessary high-detail data for parts of the mesh that no longer require it. $$anonymous$$aking an identical terrain by swapping out a heightmap, fixes it.

avatar image markfrancombe · Dec 19, 2013 at 02:15 PM 0
Share

$$anonymous$$inda old thread but wondering if FourSheds final discovery is true? I have a terrain that has got slower and slower over dev time, and need all kinds of issues fixed. Im willing to try EVERYTHING!

0 Replies

· Add your reply
  • Sort: 

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Any useful detailed tutorials on game performance and draw calls for beginners in game development? 0 Answers

Performance/framerate issue 0 Answers

How to only show objects in range ? 2 Answers

Problems on Grid made Map 1 Answer

I have to render a whole island from the vantage point of a mountain. What are your tips on how to manage performance? 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