threejs-worldgen
    Preparing search index...

    Interface RoadLookOptions

    Road surface look (shader uniforms).

    interface RoadLookOptions {
        centerLine: string;
        colors: Record<RoadSurface, string>;
        concrete: string;
        kerb: string;
        kerbHeight: number;
        marking: string;
        markings: boolean;
        sidewalk: string;
        wear: number;
    }
    Index
    centerLine: string

    Centre line colour on arterials.

    colors: Record<RoadSurface, string>

    Base colour per surface.

    concrete: string

    Bridge concrete colour.

    kerb: string

    Kerb stone colour.

    kerbHeight: number

    Kerb height above the carriageway, metres (geometry).

    marking: string

    Lane and edge marking colour.

    markings: boolean

    Paint lane markings on asphalt.

    sidewalk: string

    Sidewalk colour.

    wear: number

    0..1: worn tyre tracks, cracks and patches on asphalt, ruts on dirt.