Made for GLTFLoader
Every FoliMesh asset is a single GLB file. GLTFLoader loads the meshes, materials and textures in one request, and each LOD level is a separate mesh inside the file.
LOD in three.js
Add LOD0–LOD3 to a THREE.LOD object with the distances you need. Far away, swap to the impostor or simply hide the tree. Triangle budgets per LOD keep the frame rate stable even on laptops.
Many trees, few draw calls
The geometry is clean and shared, so the same tree works with InstancedMesh or BatchedMesh. Export several seeds and instance each of them for a forest that does not repeat.
Small files for the web
Low-poly assets use vertex colour and no textures, so a whole forest weighs less than a single photo. Realistic trees use compact bark and leaf textures with alpha-tested leaves. Need it even smaller? The free GLB compressor on our site packs the geometry with Meshopt and the textures to WebP or KTX2 right in the browser.
Wind and shadows
The wind data sits in vertex attributes, so a few lines in onBeforeCompile are enough to sway the branches. Our blog has a full guide to forests in three.js: LOD, instancing, KTX2, shadows and wind.





























