Skip to content

PMREM changes the environment even for mirrored objects #671

@elalish

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions