Skip to content

Bloom Filter breaking Scene in Chrome - Cannot read properties of null (reading 'alpha') #240

Open

Description

@jjjjjjjjjjjjjjjjacob

Problem

I'm building a website with Typescript Vite React, trying to use the bloom filter in a scene, and it throws the following error:
image

Here is the EffectComposer in the component's return statement:

// ...
        {/* NOTE: Causing null `alpha` error in Chrome */}
        <EffectComposer>
          <Bloom
            luminanceThreshold={0.3}
            luminanceSmoothing={0.5}
            mipmapBlur
            intensity={1.0}
          />
        </EffectComposer>
// ...

Activity

  1. changed the title [-]Bloom Filter breaking Scene in Chrome[/-] [+]Bloom Filter breaking Scene in Chrome - Cannot read properties of null (reading 'alpha')[/+] on Oct 2, 2023
  2. CodyJasonBennett commented on Oct 20, 2023

    @CodyJasonBennett
    Contributor

    Chrome where? Is this MacOS and which version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions