react-postprocessing icon indicating copy to clipboard operation
react-postprocessing copied to clipboard

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

Open jjjjjjjjjjjjjjjjacob opened this issue 2 years ago • 1 comments
trafficstars

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>
// ...

jjjjjjjjjjjjjjjjacob avatar Oct 02 '23 18:10 jjjjjjjjjjjjjjjjacob

Chrome where? Is this MacOS and which version?

CodyJasonBennett avatar Oct 20 '23 06:10 CodyJasonBennett