I am trying to make a game taking place in a forest, with trees the player can interact with. This means terrain trees is not an option for me. But as I start adding hundreds of trees, the performerance loss is increased greatly (around 20 fps). So after som researching I found out that it might be because each individual tree generates its own mesh. So I have been trying to understand how it works and how to combine all the meshes to one common mesh, but it just seems very complicated what I am supposed to do.
I am using trees made with Unitys tree builder & I code in C#.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
106 People are following this question.
Code generated mesh not visible
Changing a mesh with code but it doesn't react to the lighting
Help for Kinect ar.
How to use different texture/color in one Mesh with calculated position?
Light lines between meshes