Hello,
I’m using ThreeJS to create an application with several viewports of the same scene. The viewports are a continuity of the 3d scene. And they are not displayed continuously in the interface, I have to detach them.
I used this example: three.js/examples/webgl_multiple_views.html at 17abdb5e4b88368a6c1528743d014e641b32cf85 · mrdoob/three.js · GitHub
This works well with the renderer.setViewport() and renderer.setScissor() functions, as well as with the camera.setViewOffset() function, which allows me to ensure image continuity.
My problem is that I’m using the EffectComposer with specific passes (gtao, bloom, etc.), and this displays a discontinuity in the rendering.
See example: https://codepen.io/Vincent_mgd/pen/NWZBzqK
Is it possible to overcome this problem?
But I have the impression that it’s structural: with several views rendered by the EffectComposer, I can’t have continuity?
Another problem with multiview rendering:
I’ve noticed that you need to do a EffectComposer.setSize(viewSize) for each rendered view, to optimise, otherwise in my example with 4 views, there are 4 full size renderings for each frame.
Thanks in advance if you have any ideas or tips!