Function elevationMapToRGBA

  • Encode elevation data to RGBA image values so it can be used as a data texture. Depth values are required by the surface material to map to color ramps and also for contours.

    Parameters

    • data: Float32Array
    • nullValue: number = -1

    Returns Uint8Array<ArrayBuffer>

MMNEPVFCICPMFPCPTTAAATR