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
1
Question by ThatSlyGuy · Jan 01, 2015 at 06:07 PM · treetreesdrawcallsterrain-trees

SpeedTree Trees Extremely High Draw Call Count?

Recently I have opted into the Unity 5 beta and have started playing around with some of its features, one of them being SpeedTree. Don't get me wrong, the trees look great, except the draw call count is through the roof. I'm using unity's terrain engine for tree placement and when I make a dense forest of maybe 5000 trees my draw call count is way higher than before it was with basic tree engine trees. I'm seeing about 6-7k draw calls with a forest this density as opposed to about 500 with basic unity trees. If you have any advice or help that would be greatly appreciated! Thanks for your time.

Comment
Add comment · Show 1
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 Mikael-H · Sep 28, 2016 at 04:47 PM 0
Share

Did you make any progress on this issue? We are in a position where we need to model IRL-maps of vast areas and need lots of trees. How many trees can you push in total? Did you figure out any other system, e.g. creating a mesh of "fores in the distance" without individual trees in it or anything else?

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by getyour411 · Aug 29, 2015 at 10:13 AM

I spent some time testing this tonight with Terrain Trees. Like others have reported too, vert/draw call shoots up, FPS tanks. There seem to be a few factors with these Speed Tree trees and Unity, not sure who has the ball: Terrain settings like Max Mesh (force billboard), Tree Distance (cull), and Billboard distance do nothing.

I set up a pure flat 128x128 terrain, put an FPS in a corner looking inward, mass placed 250 trees, 5.6Million tris.

Now depending on your requirements and use-cases, you can bring this down by forcing lower LOD. I created a prefab from the Broadleaf, removed 11 of the 12 colliders, removed LOD 0 and 1, set the Renderer for those in LOD slider to use LOD2, pushed up the Billboard and Cull % in slider. Repainted that new prefab on terrrain 250 and down to a little over one million. There are obviously trade-offs in the quality, tree "Snap" visibility as LOD shifts to Billboard but at least I have a very dense wooded area again (and culling works). You might find an acceptable tree v performance point without resorting to removing LOD 0 and 1 by just shifting around those LOD sliders.

By comparison, same test with the older "Alder" tree that used to be part of Unity standard Assets, 250 mass placed with Terrain settings working - 168k Tris.

EDIT: There is no Slider in the typical sense (sorry); in the Tree Panel showing the % of the LOD breakouts, you can click and slide the borders and slide them around.

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
1

Answer by netvortex_dc · Jan 01, 2015 at 08:19 PM

SpeedTree currently has some issues. One of them is batching, you have to disable SmoothLOD on your trees so batching works fine. This should reduce your drawcalls by a significant amount.

Comment
Add comment · Show 2 · 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 ThatSlyGuy · Feb 12, 2015 at 09:48 PM 0
Share

Is it not possible to have a dense forest with speedtree? I took a break from dealing with it for a while because it was starting to frustrate me but now I have faced the reality of needing trees again on my terrain. It seems I can't have many trees on my terrain at all when using speedtree. I have almost 30k trees spread out on 25 terrains, 3x3km each, and my performance is terrible. It tells me I have some 20k draw calls saved by batching, but it's not helping with anything really. The colliders have also been removed from the trees as well, so that can't be the issue.

avatar image angeliapayne · Aug 12, 2015 at 09:37 PM 0
Share

Any advances with this issue? I'm hitting a wall with Speedtree trees too

avatar image
0

Answer by twobob · Oct 31, 2015 at 03:32 AM

1000 draw calls for these trees at distance...

why no batchy?

I did note that a WIND ZONE can prevent batching it would seem


1000calls.jpg (228.5 kB)
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

7 People are following this question.

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

Related Questions

How to get the collided tree ? 0 Answers

Tree sticks through terrain despite collider being same height 0 Answers

Tree Creator Problems 1 Answer

Terrain tree is not working 1 Answer

Cannot paint non-default trees 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