This is a tool for the Unity Editor to procedurally create trees from trunk, branches and foliage parameters.

Trunk

All starts with a trunk (or multiple) setting parameters like width, length and shape.

Branches

Next step is to add branches, it is possible to control length, width, angle, starting point, pulling forces and more.

Foliage

For the foliage, several planes are created on the branches. Positions and angles can be randomized to achieve more fullness.

Level of detail

By reducing the number of vertices in each section, meshes with less triangles are generated to improve performance when tree is seen form distance.

Texture atlas

To improve performance foliage textures are packed together, so all trees share material and textures.

Stations

Since textures are packed together, the foliage texture can be easily changed to match specific station.

Interactive Demo