pmndrs / pmndrs/react-postprocessing

Using Custom Effect with Bloom, Bloom doesn't work

Open
#286 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.4k
Forks
134
Avg merge
4m
Merged PRs (30d)
4

Description

I wrote a radial blur effect. When I used it with the Bloom effect, I changed the degree of radial blur through the leva control panel and found that the Bloom effect did not work, but if i give a Bloom Effect an unique key it's work, I don't understand what caused this.
image
image
image
image
image
i make a demo to show that
here is link: demo

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked CodeSandbox demo and reproduce the interaction between the custom radial blur effect, Bloom, and the leva control panel. Compare behavior when the Bloom effect has no unique key with behavior when it does, then trace the relevant component updates and effect lifecycle. Done means changing the radial blur degree leaves Bloom functioning without requiring a forced unique key.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, three.js, typescript
Domain
computer-graphics, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.