pmndrs / pmndrs/react-postprocessing

react-postprocessing and drei GizmoHelper NOT COMPATIBLE? [with sandbox]

Open
#94 4 comments 1 reaction 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

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.