pmndrs / drei

🥉 useful helpers for react-three-fiber
https://docs.pmnd.rs/drei
MIT License
8.26k stars 682 forks source link

fix: RenderTexture for WebXR #2010

Closed bbohlender closed 3 months ago

bbohlender commented 3 months ago

Why

RenderTexture currently does not work with WebXR

What

disable renderer.xr.isPresenting while rendering to the framebuffer and reset to the previous render target when done

Checklist

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drei ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2024 7:24pm
codesandbox-ci[bot] commented 3 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

github-actions[bot] commented 3 months ago

:tada: This PR is included in version 9.107.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: