Taos API Reference
    Preparing search index...

    Function bakeTerrainGeometry

    • Bakes a decoded quantized-mesh tile into interleaved world-space vertices, colors, and indices, including the skirt curtain. When drapeBlock is set, vertices get Web Mercator UVs into the imagery block and white vertex colors (so the imagery shows un-tinted); otherwise they get tile-local UVs and an elevation-ramp color.

      skirtDepth is the already-computed curtain depth in meters (see the caller, which derives it from the level's geometric error and the tile relief). The geometry is identical whether this runs inline or in a worker.

      Parameters

      Returns BakedTerrain