threejs-worldgen
    Preparing search index...

    Module threejs-trees

    Procedural trees, shrubs, palms, cacti, ferns, reeds and rocks for three.js: space-colonisation trees with pipe-model radii, 22 species presets, procedural leaf cards, TSL bark/leaf/rock materials with wind, and createVegetationLayers to scatter them (with LODs and impostors) through threejs-scatter.

    LeafImage
    LeafMaterialOptions
    MaterialOptions
    RockParams
    TreeDetailOptions
    TreeEnvironment
    TreeGeometry
    TreeParams
    TreeSkeleton
    VegetationOptions
    VegetationSpecies
    WeatherInputs
    CrownShape
    LeafShape
    RockName
    SpeciesName
    TreeKind
    DEFAULT_ROCK_PARAMS
    DEFAULT_TREE_PARAMS
    rocks
    species
    treeUniforms
    applyImpostorWeather
    createBarkMaterial
    createFruitMaterial
    createLeafMaterial
    createRockMaterial
    createVegetationLayers
    crownExtent
    crownProfile
    drawLeafImage
    generateRock
    generateTree
    generateTreeLevels
    getLeafTexture
    growSkeleton
    icosphere
    impostorFoliageMask
    mergeTreeGeometry
    sampleCrown
    setTreeEnvironment