FoliMesh

Cacti & Succulents for three.js

Desert scenes in the browser live or die by draw calls. These cactus and succulent assets arrive as GLB, so GLTFLoader from three/addons drops them straight into a scene — Saguaro, Barrel Cactus, Prickly Pear, Agave and Aloe, five species for westerns, survival maps and low-poly desert dioramas.

Each model ships LOD0–LOD3, so THREE.LOD with lod.addLevel(mesh, distance) swaps detail as the camera moves. Planting beds repeat well through InstancedMesh; because LOD is not per-instance, group copies per chunk yourself. glTF alphaMode MASK becomes material.alphaTest on the spiky silhouettes, and the collision mesh stays invisible for Rapier or cannon-es. Works on WebGLRenderer and WebGPURenderer.

Models
6
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