threejs-worldgen
    Preparing search index...

    Interface WaterRules

    Rules for telling river water from sea water.

    interface WaterRules {
        inland: number;
        riverStrength: number;
    }
    Index
    inland: number

    Continentalness above which water counts as inland (fresh).

    riverStrength: number

    River strength (the world's river, 0…1) above which water counts as a river.