threejs-worldgen
    Preparing search index...

    Interface LeafMaterialOptions

    Options of createLeafMaterial beyond the tree params.

    interface LeafMaterialOptions {
        flutter?: number;
        translucency?: number;
        weather?: WeatherInputs;
    }

    Hierarchy (View Summary)

    Index
    flutter?: number

    Leaf flutter amplitude in metres at full wind.

    translucency?: number

    Back-lit glow when looking towards the sun through the leaves, 0..1.

    weather?: WeatherInputs

    Per-material weather inputs; anything left out follows the global treeUniforms.