Create reference window for r3f (#169)

* Add reference window (and fix tooltips)

* Replace image with data url so the build doesn't fail
This commit is contained in:
Andrew Prifer 2022-05-18 17:04:07 +02:00 committed by GitHub
parent 8520c74116
commit 95d4e1d315
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 247 additions and 40 deletions

View file

@ -53,7 +53,13 @@ function App() {
height: '100vh',
}}
>
<Canvas dpr={[1.5, 2]} linear shadows frameloop="demand">
<Canvas
dpr={[1.5, 2]}
linear
shadows
gl={{preserveDrawingBuffer: true}}
frameloop="demand"
>
<SheetProvider sheet={getProject('Space').sheet('Scene')}>
<fog attach="fog" args={[bg, 16, 30]} />
<color attach="background" args={[bg]} />