threejs-worldgen
    Preparing search index...

    Type Alias ForestProps

    ForestProps: Omit<ScatterProps, "layers"> & Omit<VegetationOptions, "renderer"> & {
        environment?: TreeEnvironment;
        impostors?: boolean;
    }

    Props of <Forest>: the vegetation set plus every <Scatter> prop except layers.

    Type Declaration

    • Optionalenvironment?: TreeEnvironment

      Wind for all tree materials. The sun defaults to the first DirectionalLight in the scene.

    • Optionalimpostors?: boolean

      Bake octahedral impostors for far levels with the R3F renderer (needs a WebGPURenderer).