Skip to content
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

When using EffectComposerand GizmoViewport, GizmoViewport disappears #283

Open
shunmian opened this issue Apr 25, 2024 · 1 comment
Open

Comments

@shunmian
Copy link

shunmian commented Apr 25, 2024

Hi, I'm using EffectComposer to enable object selection. It works quite well. But when I add GizmoViewport from @react-three/drei, the GizmoViewport disappear, see code(uncomment line 28 in App.js)
截屏2024-04-25 14 31 05

@HiceS
Copy link

HiceS commented Feb 11, 2025

Workaround:

add renderpriority to gizmohelper: renderPriority={2}

<GizmoHelper alignment="bottom-right" margin={[80, 80]} renderPriority={2}>
      <GizmoViewport axisColors={["#9d4b4b", "#2f7f4f", "#3b5b9d"]} labelColor="white" />
</GizmoHelper>

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