Skip to content

Astronaut is too shiny on Android devices #565

Closed

Description

@elalish

Description

On Android, the Astronaut model (and presumably others) is way too shiny compared to its matte look on other platforms.

Correct:
Screenshot from 2019-05-23 15-22-23
Incorrect:
Screenshot from 2019-05-23 15-23-45

Browser Affected

  • Chrome
  • Edge
  • Firefox
  • Helios
  • IE
  • Safari

OS

  • Android
  • iOS
  • Linux
  • MacOS
  • Windows

Versions

  • model-viewer: v0.3.1
  • three.js: r104

Activity

  1. self-assigned this
    on May 23, 2019
  2. cdata commented on May 23, 2019

    @cdata
    Contributor

    Thanks for filing this!

  3. elalish commented on May 24, 2019

    @elalish
    ContributorAuthor

    Actually, this bug is related to #528, as the reason the astronaut looks shiny is because our default generated environment map is a float texture, which android devices cannot interpolate, and thus create no mipmaps for. For a matte material, we ask for the last mipmap, but in this case that's the same as the shiniest mipmap, since there's only one. You can see the same problem with a loaded HDR environment map, but in this case it's because the map is stored as RGBE, which we disable interpolation for because of the nonlinearity (see mrdoob/three.js#8980):
    Screenshot from 2019-05-24 13-27-41
    Which should look more like the LDR version, especially for the matte spheres:
    Screenshot from 2019-05-24 13-28-42

  4. added this to the v0.5.0 milestone on Jun 6, 2019
  5. pushmatrix commented on Jun 13, 2019

    @pushmatrix
    Contributor

    @elalish I'm actually getting the inverse happening on desktop. Safari seems to be shinier.
    This is just by visiting https://googlewebcomponents.github.io/model-viewer/

    shiny

  6. added a commit that references this issue on Jul 22, 2019
  7. added a commit that references this issue on Aug 6, 2019
  8. added a commit that references this issue on Aug 13, 2019
  9. added a commit that references this issue on Aug 13, 2019
  10. added 3 commits that reference this issue on Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arc: rendering & effectstype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions