Replies: 1 comment
-
I had kind of a similiar issue and for me it turned out, that it was less a problem of the camera than the renderer.
I'm relly just beginning to use this framework, so it might also be a happy coincidence... |
Beta Was this translation helpful? Give feedback.
0 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.
-
When creating this custom camera, the aspect is set to 1/1 on load until I resize stretching the contents of the canvas, and I can't seem to set it otherwise even if I pass it hard coded aspect props.
For now, I am not creating a new camera but modifying the existing ones position like so:
Here's a codesandbox with the same problem: https://codesandbox.io/s/vigilant-wood-p976b?file=/src/App.js the box is wide until resize triggered at which point it becomes square.
I've played with giving it an {aspect} value but it doesn't seem to change anything.
Thank you all.
Beta Was this translation helpful? Give feedback.
All reactions