threejs-worldgen
    Preparing search index...

    Interface WeatherInputs

    Optional TSL inputs (each a 0..1 float node) that override the global weather uniforms of treeUniforms for one material. Pass a uniform() to drive it live, or any node: e.g. one sampling a world-space burn mask at positionWorld, or one derived from scatterParamsNode() (threejs-scatter) for per-instance values.

    interface WeatherInputs {
        burn?: Node;
        damage?: Node;
        snow?: Node;
        wetness?: Node;
    }
    Index
    burn?: Node

    Fire: bark chars black, leaves scorch brown and drop out.

    damage?: Node

    Storm or age damage: side branches break off, leaf mass and fruit thin out.

    snow?: Node

    Snow cover on upward-facing surfaces.

    wetness?: Node

    Rain wetness: darker albedo, lower roughness.