Skip to content

Default environment map #152

Open
Open

Description

@mkeblx

A model with no author-provided environment map is rendered with a default environment map. And model should render consistently across platforms, roughly. For this consistent rendering we would need to specify the default environment map.

  • How can we specify the default environment map? A specific reference file, or a more general characteristics?
  • And what should the default environment map be generally i.e. a 3-point studio setup?

Activity

  1. AdaRoseCannon commented on May 9, 2026

    @AdaRoseCannon
    Member

    /facetoface

  2. mkeblx commented on May 19, 2026

    @mkeblx
    ContributorAuthor

    Could it make sense to support multiple default maps? A UA may prefer as well to have the default environment map be conditional, say based on light or dark mode.

    <model src="model.usdz" environmentmap="dark">
    <model src="model.glb" environmentmap="light">
    <model src="model.usdz" environmentmap="real">
  3. cabanier commented on Oct 14, 2026

    @cabanier
    Member

    Was this resolved?
    /tpac

  4. added
    TPAC
    on Oct 14, 2026
  5. cabanier commented on Oct 19, 2026

    @cabanier
    Member

    /agenda

  6. added
    agenda
    on Oct 19, 2026
  7. cabanier commented on Oct 29, 2026

    @cabanier
    Member

    FYI this is what the spec currently has:
    If an [environmentMap](https://immersive-web.github.io/model-element/#dom-htmlmodelelement-environmentmap) is not specified, the User Agent MUST provide an appropriate map.

  8. cabanier commented on Oct 29, 2026

    @cabanier
    Member

    FYI this is what the spec currently has:
    If an [environmentMap](https://immersive-web.github.io/model-element/#dom-htmlmodelelement-environmentmap) is not specified, the User Agent MUST provide an appropriate map.

    In the meeting, the Safari team suggested that we could use theirs as a reference that is in their open source repo.
    @zachernuk will add language to the spec that describes the environment map.

  9. cabanier commented on Oct 29, 2026

    @cabanier
    Member

    3. Could it make sense to support multiple default maps? A UA may prefer as well to have the default environment map be conditional, say based on light or dark mode.


    We decided to postpone this for now.

  10. removed
    TPAC
    agenda
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions