hex-world
    Preparing search index...

    Interface RoadChunkArrays

    Raw road attribute arrays for one chunk.

    interface RoadChunkArrays {
        positions: Float32Array;
        uvs: Float32Array;
        colors: Float32Array;
        cellIndices: Float32Array;
        normals: Float32Array<ArrayBufferLike> | null;
        occlusion: Float32Array;
    }
    Index

    Properties

    positions: Float32Array
    uvs: Float32Array
    colors: Float32Array
    cellIndices: Float32Array
    normals: Float32Array<ArrayBufferLike> | null
    occlusion: Float32Array

    Per-vertex baked ambient occlusion, matching the terrain's so roads shade with the ground they lie on.