Features
Tree authoring and baking
Shape trees from species presets, sculpt branches, export FBX, scatter forests and bake prefabs with impostors.

Create a tree
In the Project window, select Assets > Create > Leafshaper > Tree. Choose an included species as the starting point. Save the tree recipe in your own project folder under Assets and select it in the Project window to open its Inspector.
Adjust shape, branches, leaves and bark to change the silhouette, or scrub Age / Maturity (0.1–1.0) in the Shape tab to scale height, trunk thickness, branch count, and crown density from a young sapling to a mature tree. Expand Physics Collider in the Shape tab to bake an automatic root CapsuleCollider onto the tree. Keep the seed fixed while tuning shape. Change the seed to explore another arrangement of the same settings. The recipe preserves both the species settings and your edits. Use Unity Undo to recover recent authoring changes.
Interactive branch sculpting and FBX export
Click Sculpt Branches (or Sculpt in Scene… in the Branches tab) to edit a tree directly in the Scene View. Pick any branch sphere handle to select it, drag the green midpoint or yellow tip position handles, adjust length/radius multipliers in the Leafshaper Branch Sculpt Scene-View overlay, or prune/restore individual limbs non-destructively (Backspace/Delete prunes, Escape exits).
Click Export FBX… (and pick LOD0 or All 3 LODs), or right-click a Tree Asset and choose Assets > Leafshaper > Export Selected Tree to FBX…, to export an FBX 7.4 ASCII asset with normals, UVs, wind/occlusion vertex colors, bark/leaf material slots, and optional texture maps.
Scatter forests across Terrain or scenes
Open Window > Leafshaper > Forest Scatterer and assign or create a Tree Biome Profile (Assets > Create > Leafshaper > Biome Profile). Configure per-species weights, scale ranges, altitude/slope rules, minimum Poisson spacing, Perlin clumping, and optional terrain splat-layer exclusion (for roads/clearings). Scatter across a Terrain or Scene GameObjects in one click, or switch Interactive Scene Brush to Paint or Erase directly in the Scene View.
Choose a look
To preview a whole forest, open the imported Stylized Forest sample, enter Play Mode, and choose a style in the Game tab. To author a single tree, select its recipe and choose Texture Style in its Inspector. The live preview uses the chosen bark and foliage for that species. Keep the seed fixed to compare looks on the same branches. Original restores the species’ starting textures. Any textures you assigned in the Bark or Leaves tab still apply to those individual slots. Texture style guide
Preview and bake
Drag to orbit and scroll to zoom. Use the LOD selector and triangle readout to inspect mesh detail. The preview opens with the source texture colors, including red maple foliage and cherry blossoms. Toggle Preview seasons to see the seasonal palette, then scrub Season. Snow and Play Wind let you inspect their effects independently.
Select Bake Prefab… and save to a writable folder under Assets. The output is an ordinary Unity prefab with meshes, materials, and an LODGroup.
In LOD & Impostor, Automatic Distance LODs chooses the distant representation from the triangle count of the final mesh LOD. A simple plant uses three mesh LODs and keeps its last mesh visible through the far cull threshold. A more complex plant starts with two mesh LODs, switches to an octahedral impostor with depth, and ends with a far billboard. The two distant tiers share baked textures. Turn on Keep Third Mesh to draw a third mesh before the impostor. Turn off Automatic Distance LODs to bake just the three meshes and cull at the third threshold. Levels cross-fade over a quarter of their range, and their shadows fade with them.
Enter the Screen Heights as descending ratios of screen height. Higher ratios switch tiers while the tree appears larger on screen. New trees start at 0.28, 0.22, 0.03 and 0.004, the heights of the Forest Showcase forest, and plants with a trunk under 2.5 m, such as bushes, ferns and reeds, start at 0.2, 0.08, 0.03 and 0.012. X and Y end the first two mesh tiers, so a complex plant changes to its impostor at Y. Z ends the third mesh with Keep Third Mesh on or with automatic distance LODs off. W sets the final cull threshold with automatic distance LODs on. Leafshaper places the transition between the impostor and the far billboard between Z and W. Rebake a prefab after you change the heights.
Leafshaper packs impostor views in an 8×8 atlas. The default 64 px per view gives a 512×512 atlas, and Stylized Forest uses 32 px per view. Increase Impostor Tile Size for a sharper silhouette or reduce it to use less storage and graphics memory. Doubling the tile width roughly quadruples the atlas area. Seasonal leaf loss may add bare-branch maps to the bake.
Choose the Variant Count and select Bake Variants… to bake consecutive seeds from the same recipe. Keep source recipes alongside your generated content.
Update an existing recipe or prefab
Updating Leafshaper preserves the geometry, seed and texture style saved in your project recipes. Select Rebake Prefab on the owning recipe to update a linked prefab in place and keep scene and terrain references. The new bake uses the current distance LODs with your saved geometry and style.
To adopt revised stock geometry, make a copy of any customized recipe, then use Apply Preset… and select the desired starting point. Applying a preset replaces your recipe geometry, seed, wind and season defaults, and clears custom texture overrides. Review the recipe and texture style before baking. A duplicated recipe offers Bake Prefab… so you can give it its own output and paint it separately from the original. Use Rebake Prefab only when you want those changes in the linked prefab.
Use your prefab or generate at runtime
Drag the baked prefab into the scene to place an individual tree. To paint with Unity Terrain, select the baked tree's recipe and assign the Terrain in the Inspector and select Add to Terrain to register the prefab as a prototype, or use Window > Leafshaper > Forest Scatterer for rule-based biome placement and scene brushing.
To spawn or grow trees procedurally at runtime from code, use TreeBuilder.CreateTree / TreeBuilder.BuildMesh or add the RuntimeTree component (Add Component > Leafshaper > Runtime Tree). RuntimeTree supports both TreeAsset and TreeSpecies sources, live Age updates (growOverTime across discrete mesh stages with smooth sub-stage scaling), and automatic collider generation. For static scenes with distant octagonal impostors, bake prefabs in the Editor and instantiate or pool them normally.
See material customization and scene controls for textures, wind and seasons.
Still stuck?
Bring the recipe with you.
Include the Leafshaper, Unity and render-pipeline versions, the operating system and graphics API, the first Console error, the preset and seed, and the steps that reproduce the problem.