Show 2 viewport using same renderer

I found that viewHelper(Arrow navigation on bottom-Right of three js editor) use same renderer for different viewport i.e one is for viewhelper other is for main canvas.

correct if I am wrong?

But I am getting only one view

You are right. The relevant code section is:

After clearing the depth buffer, the renderer is configured to overwrite a small portion of the editor’s viewport with an additional rendering (representing the view helper). You should do the same configuration in your app.

Thank you @Mugen87
its working fine

I think you(@Mugen87 ) and @mrdoob are contributor of viewHelper code in three js.

its really well written. I really love the way you written reusable code.

Thank you so much again

1 Like