@equinor/videx-3d
    Preparing search index...

    Type Alias OceanBox

    The three separate geometries produced by createOceanBox. Each is a standalone BufferGeometry so they can be rendered as independent meshes (and routed independently through transparency / OIT).

    type OceanBox = {
        bed: BufferGeometry;
        body: BufferGeometry;
        surface: BufferGeometry;
    }
    Index

    Properties

    Properties

    bed: BufferGeometry

    The displaced sea-bed bottom face (normals follow the bed slope).

    body: BufferGeometry

    The four side walls (outward normals) forming the water body volume.

    surface: BufferGeometry

    Top face (y = 0, normal +Y), tessellated for the waves.