Skip to content

flickering with Bloom mipmapBlue + MeshRefractionMaterial #300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AaronLayton opened this issue Oct 9, 2024 · 4 comments
Open

flickering with Bloom mipmapBlue + MeshRefractionMaterial #300

AaronLayton opened this issue Oct 9, 2024 · 4 comments

Comments

@AaronLayton
Copy link

chrome_Tqc0plzQtX.mp4

I am getting a flickering when trying to use a bloom effect with mipmapBlur. As soon as I turn of the effect nothing flashes anymore.
I have tried varying all the values here but nothing is working. Any ideas?

 <EffectComposer>
        <N8AO aoRadius={0.15} intensity={4} distanceFalloff={2} />
        <Bloom
          luminanceThreshold={10.5}
          intensity={0.85}
          levels={9}
          mipmapBlur
        />
        <ToneMapping />
</EffectComposer>

Code_FcrSVN85qG

@AaronLayton
Copy link
Author

Any update on this, I have upgraded to the latest packages for React 19 / Next 15 + all the ThreeJS related packages and I still get an issue

@AaronLayton
Copy link
Author

chrome_6vSVpAxEBn.mp4
<EffectComposer>
  <Bloom
    luminanceThreshold={1}
    intensity={0.1}
    levels={5}
    mipmapBlur
  />
  <ToneMapping />
</EffectComposer>
<instancedMesh
  key={name}
  castShadow
  args={[nodes[name].geometry, undefined, 65]}
  instanceMatrix={nodes[name].instanceMatrix}
>
  <MeshRefractionMaterial
    color={diamondColor}
    side={THREE.DoubleSide}
    envMap={env}
     aberrationStrength={0.12}
    toneMapped={false}
  />
</instancedMesh>

@EugenIlchenko
Copy link

I have the same problem pmndrs/drei#2183

@AaronLayton
Copy link
Author

Glad it's not just me @EugenIlchenko

I also have it where the Refraction just drops out and the model renders with a flat standard material

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants