Replies: 1 comment 3 replies
-
when you change fov of your main camera then it will affect everything it's rendering, that's how it works. how the hdri map is zoomed i don't know, i think you will have better chances getting this answered quickly on threes discourse since it's not so much react related. same for use-gesture in use-gestures own channels. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I would like to change FOV of camera by onWheel and onPinch to zoom texture of scene.background.
However, in my code, when the amount of the change of wheel (I use trackpad of macbook) is large, zoom of the whole screen of browser occurs instead of zoom of scene.background.
Here is my code.
https://codesandbox.io/s/r3f-ibl-envmap-simple-forked-mzju6?file=/src/App.js
I have 2 questions.
Beta Was this translation helpful? Give feedback.
All reactions