pmndrs / pmndrs/react-postprocessing
react-postprocessing and drei GizmoHelper NOT COMPATIBLE? [with sandbox]
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 134
- Avg merge
- 4m
- Merged PRs (30d)
- 4
Description
Hello, when I use postprocessing EffectComposer, the drei GizmoHelper disappears.
see codesandbox: https://codesandbox.io/s/react-three-postprocessing-vs-drei-viewcube-veq3c?file=/src/index.js
if you delete the <EffectComposer /> the Gizmo reappears. (Even with actual effects within it, it's the same problem)
Why is this happening and how to fix it?
Thank you
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the linked CodeSandbox and inspect src/index.js, focusing on how EffectComposer is used with drei's GizmoHelper. Reproduce the issue with and without EffectComposer, then identify a fix that keeps the GizmoHelper visible when the composer is present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, three.js, typescript
- Domain
- computer-graphics, frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100