Skip to content

PMREM changes the environment even for mirrored objects #671

Closed

Description

@elalish

Description

PMREM filters the environment map based on roughness, but for a mirrored object (metal = 1, rough = 0), it should reflect the environment unchanged. This is not the case, as even the full-res PMREM environment has gone through one filtering pass, resulting in artifacts.

Live Demo

https://googlewebcomponents.github.io/model-viewer/examples/model-formats.html

The default, without PMREM (original environment):
Screenshot from 2019-07-02 10-55-20
Adding the experimental-pmrem attribute, which should be identical since this model is metal = 1, rough = 0:
Screenshot from 2019-07-02 10-56-03

Activity

  1. self-assigned this
    on Jul 2, 2019
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

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions