Skip to content

Use consistent, cross-device compatible single rendering path for IBL #647

Closed

Description

@cdata

As of this writing, our IBL implementation choices lead to results that range from from undesirable (#565) to totally broken (#574) in some configurations on some devices.

Our generated IBL currently depends on the HalfFloat WebGL extension, but this extension is inconsistently available leading to inconsistent lighting across devices.

Furthermore, IBL results in Three.js can vary significantly depending on the rendering path we use (PMREM/HDR vs non-PMREM/LDR, see #601).

In order to address these inconsistencies, achieve more consistent rendering across devices and simplify the mental model for our users, the following improvements are proposed:

  • The default rendering path will apply PMREM (a breaking change)
  • The experimental-pmrem attribute will be removed
  • The generated IBL will use RGBE encoding, aligning to what we use for external HDR IBLs
  • A gaussian blur pass will be implemented to achieve visual parity between generated and reference IBL

Activity

  1. added
    type: feature
    on Jun 19, 2019
  2. added this to the v0.6.0 milestone on Jun 19, 2019
  3. elalish commented on Jul 23, 2019

    @elalish
    Contributor

    Closed via #591

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