- Home /
Unity terrain trees on layers
Hi, my game is high performance (more of a visual than a game necessarily).
I am wondering if there is a way for me to add trees to the terrain on specific layers?
In example: Birch trees drawn on the terrain would be added to the birchTree layer.
The current method I've thought of would be to create the terrain first (raised and lowered) and copy it (x) amount of times for (x) amount of "tree layers" and then apply a tree to each layer, but this seems very counter intuitive.
The map is static (forest should be the same every time it is played) and the issue I currently face is that Unity (4.6) slows to a crawl when it's trying to process all the trees (both in Scene and Game viewports).
P.S. Billboarding, fog and camera clipping planes are already in effect to reduce processing
Any suggestions regarding this are greatly appreciated,
Thank you.
I'm not sure how layering the trees would in any way help the performance hit. However, occlusion culling implemented properly would. Consider upgrading to Unity 5 if at all possible.
Your answer
Follow this Question
Related Questions
Tree Creator Problems 1 Answer
How to make terrain trees receive shadow 2 Answers
Can terrain trees run their own script? 1 Answer
Terrain Tree Placing Not Working 0 Answers
Terrain tree is not working 1 Answer