Skip to content

LDR environment maps without PMREM do not light nonmetallic, rough objects at all. #601

Closed

Description

@elalish

Description

All of our lighting for objects like this (metal = 0, roughness = 1 is the default for unspecified materials, like the Astronaut) comes from our stage light; the environment is completely ignored for jpgs. It has very little effect on shiny objects (they are still much too dark), but with metal = 1, everything is fine.

Live Demo

The duck, when the stage light turns off: https://googlewebcomponents.github.io/model-viewer/examples/lighting-and-environment.html
Screenshot from 2019-06-04 11-11-30

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 Jun 4, 2019
  2. cdata commented on Jun 5, 2019

    @cdata
    Contributor

    @mrdoob I remember talking to you about something like this at some point. Do you have any thoughts on this?

  3. added this to the v0.6.0 milestone on Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions