FoliMesh
Blog

How to import procedural trees into Godot 4

GLB, LODs, alpha-cut leaves and wind — step by step.

·1 min read#godot#tutorial

1. Export

Pick a species, set the budgets and export a GLB per LOD.

2. Import

Drop the files into your project. Godot reads GLB natively, with materials and vertex colors.

3. LODs

Use visibility ranges on a parent node, or the mesh LOD settings of the importer.

4. Wind

Wind weights are stored in vertex colors: trunk 0, thick branches about 0.3, leaf tips 1.0 — read them in a simple vertex shader.