FoliMesh

3D Vegetation for Bevy

Vegetation for Rust games on Bevy: load a GLB scene with the asset server and fill your world with trees, plants and rocks that have LODs, alpha-masked leaves and shared materials.

By category

glTF is Bevy's native format

Bevy loads glTF and GLB through its asset server. Spawn a FoliMesh asset as a scene and the meshes, materials and textures are ready; each LOD level is a separate mesh in the file.

LOD with visibility ranges

Use Bevy's visibility ranges to show LOD0 near the camera and switch to LOD1–LOD3 further away, with a short crossfade between levels. Triangle budgets per LOD keep large worlds fast.

Many trees, few draw calls

The same mesh and material handles are shared between entities, so Bevy batches identical trees automatically. Export several seeds per species for variety without a new material for every tree.

Realistic or low-poly

Realistic trees come with bark and leaf textures for StandardMaterial with an alpha mask; low-poly assets use vertex colour and need no textures, which also keeps WebAssembly builds small.

Normal maps and wind

Normal maps use the OpenGL convention (+Y) that Bevy expects. Wind data is stored in extra UV channels, so a material extension can sway the branches in the vertex shader.

Works in

Related

Frequently asked questions

How do I load the models in Bevy?

Load the GLB with the asset server and spawn its scene; meshes, materials and LOD levels are inside the file.

Does Bevy support the LODs?

Yes. Each LOD is a separate mesh; switch between them by distance with visibility ranges.

Do the leaves work with alpha?

Yes. Leaf materials use an alpha mask, which Bevy's StandardMaterial supports.

Will thousands of trees be fast?

Yes. Identical trees share mesh and material handles, so Bevy batches them, and far trees use cheap LODs.

Does it work in a WebAssembly build?

Yes. GLB loads the same way on the web; low-poly assets without textures keep the download small.