Are viewports supported? #404
NicolasRannou
started this conversation in
General
Replies: 1 comment
-
sure, just do: useFrame(({ gl, scene, camera }) => {
// cut your viewports here ...
gl.render(scene, camera)
}, 1) personally, i dislike cutting, i would probably just render on top: https://codesandbox.io/s/react-three-fiber-viewcube-py4db |
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.
-
Hello,
I couldn't find anywhere any mention of viewports neither demos of it.
Is it supported and if so how would that work?
For ref: https://threejs.org/examples/webgl_multiple_views.html
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions