Vixen
dd8b0a81

Rendering · guide

Impostors

A tree photographed from a hemi-octahedral grid of directions once, offline, and drawn as two triangles for ever after.

Edit this page on GitHub

Documents

Next

  • Drawing foliage — Cells culled as objects, instances culled within them, LOD decided per instance, and one indirect command per level.
  • Foliage instances — Trees and rocks stored in a cell grid, the six rules that refuse a placement, and the activation radius that decides which of them are worth a physics body.
  • Grass — A field scattered from a rule and never saved — the density curve, the hash both halves share, and the ring of buffers that makes it cost a fixed amount of memory.
  • Culling and streaming instances — Per-instance culling and LOD binning inside a batch, per-instance parameters beside the transforms, and a grid that keeps pages resident around whoever is moving.