Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
5
Question by simoniversensblog · May 03, 2010 at 12:57 PM · terraingrassdrawcallsoptimizevegetation

Optimizing vegetation.

Hi, I'm currently working on a scene that has a lot of grass in it - I used the terrain tool in Unity, and painted the grass on to it, nothing fancy. However, it raised my draw calls to more than twice the amount it was before.

Looking at the island demo from Unity, they have roughly the same amount of different plants as me, but their vegetation is actually much more dense, and with roughly the same detail settings. And yet, their vegetation amounts to 300 draw calls or so, while mine hits close to 1000...

I've scoured the internet trying to find out the reason, but I have not been able to find a single article or thread that deals with this problem. Am I missing something essential here?

As far as I can tell, my settings for both the terrain and the vegetation are low to moderate. Because of a technical issue, I have more than one terrain in the scene and someone suggested that might be the cause, but removing the second terrain didn't improve the situation at all.

Any help?

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

3 Replies

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

Answer by SilverStorm · Mar 20, 2014 at 07:49 AM

Anyone who comes across this in 2014 - Remember to Use a Prefab as the Base and On that prefab to UN-TICK RECEIVE SHADOWS AND CAST SHADOWS - this was the solution to this - It will have saved heaps of time and draw calls...

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
8

Answer by djarcas · Jan 18, 2013 at 01:32 PM

I got an answer on this directly from a unity dev; the parameter to fiddle with is the UNDOCUMENTED 'detail resolution per patch', which appears to be 'how many bits of grass to batch into a single draw call'. The default is 8. Crank it to as high as you can, see if that helps.

Comment
Add comment · Show 3 · 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 SememeS · Jun 06, 2014 at 03:31 AM 0
Share

This is the solution. Without having to sacrifice your shadows or use a prefab for grass.

Thanks

avatar image marcvp1988 · Dec 15, 2014 at 04:37 PM 0
Share

This is it!

avatar image vampirus4 · Oct 18, 2017 at 11:11 AM 0
Share

THIS IS THE SOLUTION

avatar image
1

Answer by spinaljack · May 03, 2010 at 02:51 PM

You can adjust the setting to swap out terrain details at closer distances so things like trees and grass get less detailed and trees become billboards etc.

http://unity3d.com/support/documentation/Components/terrain-OtherSettings.html

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

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

how to import custom plants and grass into unity 1 Answer

Vegetation problem 1 Answer

How to optimize custom grass? 1 Answer

Is Terrain Glitched???? 0 Answers

Detail mesh pipeline 1 Answer


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