FoliMesh

Palms for three.js

Coconut palms, date palms, Canary palms, Washingtonia and fan palms in this selection ship as light GLB files that go straight into GLTFLoader from three/addons. Each model carries four LOD levels, so you can place the meshes into THREE.LOD with lod.addLevel(mesh, distance) and let the renderer swap detail by camera distance instead of writing your own fade logic.

For a beach or island scene, InstancedMesh draws thousands of trunk-and-frond copies in a single draw call, while BatchedMesh blends the five species inside one chunk. Alpha-tested leaves keep silhouettes crisp with no sorting cost. The invisible collision mesh feeds Rapier or cannon-es, and every export runs on both WebGLRenderer and WebGPURenderer.

Models
9
Levels of detail
LOD0 – LOD3
Formats
GLB · FBX · OBJ

Using it in three.js

In three.js, load GLB with GLTFLoader from three/addons; add DRACOLoader or KTX2Loader only if a file uses those extensions.

  • Distance LOD: THREE.LOD with lod.addLevel(mesh, distance) for LOD0–LOD3; it switches levels by camera distance every frame.
  • Forests: InstancedMesh draws thousands of copies in one draw call, and BatchedMesh mixes several tree variations. THREE.LOD does not apply per instance, so group instances by LOD per chunk yourself.
  • Leaves: glTF alphaMode MASK becomes material.alphaTest, and double-sided materials get side: THREE.DoubleSide automatically.
  • Collision mesh: keep it invisible and pass it to a physics library such as Rapier or cannon-es.

Works with both WebGLRenderer and WebGPURenderer.

Other categories

Same in other styles

Same for other engines