react-three-next
react-three-next copied to clipboard
[Feature] Add React three offscreen to the nextjs example
I just saw this launched: https://github.com/pmndrs/react-three-offscreen
However I couldn't find how to make it fit with this stack that i'm using. Would it be something that can be added as an example?
it would work ootb, see https://twitter.com/cdebotton/status/1649524147838668800
it would work ootb, see https://twitter.com/cdebotton/status/1649524147838668800
Is there a specific way I need to setup offscreen to make it work in this repo? Since Scene and canvas are a bit different compared to the original example
I can make it run next but seems like View
and tunnel-rat
lost the track of the DOM with react-three-offscreen
. it does seems that @drcmda you're already working on something related to that matter (https://codesandbox.io/s/view-tracking-forked-f5wnde?file=/src/drei-future/View.tsx) ?
ah yes, offscreen in next is probably easy but tied to view, i don't think it can be feasible.
That would be unfortunate :(
Would a separate canvas setup with offscreen be something to add to this repo? So users can choose to opt in using three offscreen.