OptionalcastWhether mesh levels cast shadows (impostors never do).
OptionaldensityPer-position density multiplier for each species, e.g. biome weights:
(name, x, z) => biomes.weights(x, z).forest. Multiplies the species' own density.
OptionalimpostorImpostor bake settings.
OptionallodEnd distances of the full mesh, simplified mesh and impostor for a 15 m tree. Each species scales them by its size (clamped to ×0.12…×3), so ferns switch level sooner than redwoods.
OptionalrendererAn initialised WebGPURenderer: when given, far levels are baked octahedral impostors.
OptionalseedSeed for the variants' shapes.
OptionalsimplifiedDetail (0..1) of the simplified mesh level.
What grows.
OptionalvariantsGenerated variants per species (each a different seed; instances pick one at random).
OptionalweatherWeather inputs for every generated material (see WeatherInputs); defaults follow the global treeUniforms.
Options of createVegetationLayers. Plain data except
densityandrenderer.