• 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, not$$anonymous$$ng 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, w$$anonymous$$le mine $$anonymous$$ts 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 t$$anonymous$$s problem. Am I missing somet$$anonymous$$ng 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 t$$anonymous$$s in 2014 - Remember to Use a Prefab as the Base and On that prefab to UN-TICK RECEIVE SHADOWS AND CAST SHADOWS - t$$anonymous$$s was the solution to t$$anonymous$$s - 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 t$$anonymous$$s directly from a unity dev; the parameter to fiddle with is the UNDOCUMENTED 'detail resolution per patch', w$$anonymous$$ch appears to be 'how many bits of grass to batch into a single draw call'. The default is 8. Crank it to as $$anonymous$$gh 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 t$$anonymous$$ngs 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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

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

Grass gets cut off 2 Answers

Overriding shaders of Terrain Grass in 2019.2 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