XYZ Maps Documentation
    Preparing search index...

    Type Alias ModelAlphaMode

    ModelAlphaMode: "auto" | "opaque" | "mask" | "blend"

    How alpha from a model material is rendered.

    • auto: infer blending from explicit material opacity data; otherwise render opaque.
    • opaque: ignore texture alpha and render fully opaque.
    • mask: discard fragments below alphaCutoff, without blending.
    • blend: use texture/material alpha with blending and depth testing, without writing depth. Ordering follows z-index/layer order. Camera-dependent depth sorting of transparent model parts, instances, and triangles is intentionally not performed at present, preserving instanced batching. Overlapping transparent surfaces can therefore produce ordering artifacts as the camera moves. Use mask for cutouts rather than partially transparent surfaces.