threejs-worldgen
    Preparing search index...

    Interface BuildingMeshes

    The four meshes of one building: full detail and simple LOD, walls and roofs (details are instanced separately).

    interface BuildingMeshes {
        roofs: MeshData;
        simpleRoofs: MeshData;
        simpleWalls: MeshData;
        walls: MeshData;
    }
    Index
    roofs: MeshData

    Roofs (roof shader).

    simpleRoofs: MeshData

    Far LOD roofs: flat caps.

    simpleWalls: MeshData

    Far LOD walls: each part as one extruded prism.

    walls: MeshData

    Walls (facade shader).