Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Module rendering/environment/hdri

    viewer_config.environment.source = "hdri": an equirectangular image as the environment.

    .hdr (Radiance RGBE) loads through three's HDRLoader — imported DYNAMICALLY so it stays off the eager payload (scripts/check-eager-chunks.mjs); the loader imports only from three, so it serves both backends. Anything else is treated as an LDR image through TextureLoader. Either way the texture gets the equirectangular reflection mapping and three prefilters it on assignment to scene.environment.

    resolveEnvironmentUrl
    loadEquirectangularTexture