# Split screen

**URL:** <https://forum.defold.com/t/split-screen/67478>\
**Category:** Questions\
**Created:** [February 6, 2021, 10:03am UTC](https://forum.defold.com/t/split-screen/67478 "2021-02-06T10:03:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![roccosaienz](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/roccosaienz/32/19991_2.png) [@roccosaienz](https://forum.defold.com/u/roccosaienz)\
**Post date:** [February 6, 2021, 10:03am UTC](https://forum.defold.com/t/split-screen/67478/1 "2021-02-06T10:03:37Z")

</div>

I am implementing a two player mode and one possible approach is via split-screen.

Is there a way to render different proxycollections in different viewports? I don’t want to duplicate all materials and have different tags for the different viewports…

Many thanks!

---

<div class="post-metadata">

**Author:** ![AGulev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/agulev/32/4541_2.png) [@AGulev](https://forum.defold.com/u/AGulev)\
**Post date:** [February 6, 2021, 10:06am UTC](https://forum.defold.com/t/split-screen/67478/2 "2021-02-06T10:06:39Z")

</div>

Here is example from @britzl

> **[Defold Public Examples](https://britzl.github.io/publicexamples/)**

 ![image](https://forum-defold-uploads.b-cdn.net/original/3X/a/9/a9ca24e9bdae0ed8ac77457eb17daec668dc03c0.png)

> **[PublicExamples 0.0](https://britzl.github.io/publicexamples/camera/index.html)**

> **[publicexamples/examples/camera at master · britzl/publicexamples](https://github.com/britzl/publicexamples/tree/master/examples/camera)**
>
> master/examples/camera

---

<div class="post-metadata">

**Author:** ![roccosaienz](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/roccosaienz/32/19991_2.png) [@roccosaienz](https://forum.defold.com/u/roccosaienz)\
**Post date:** [February 6, 2021, 10:17am UTC](https://forum.defold.com/t/split-screen/67478/3 "2021-02-06T10:17:31Z")

</div>

@AGulev thank!

I am not sure I understand the example, but it seems to me that for each camera the engine is rendering the whole (uunique) world using different viewports.

I would like to render the (proxy)collection A in the viewport A and the (proxy)collection B in viewport B. In particular the two collections are instances of the same collection.

---

<div class="post-metadata">

**Author:** ![Pkeod](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pkeod/32/606_2.png) [@Pkeod](https://forum.defold.com/u/Pkeod)\
**Post date:** [February 6, 2021, 10:38am UTC](https://forum.defold.com/t/split-screen/67478/4 "2021-02-06T10:38:23Z")

</div>

You could potentially have your proxied worlds at unique world locations and then use the technique posted above for rendering, that would be a way to avoid extra render tags.

---

<div class="post-metadata">

**Author:** ![roccosaienz](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/roccosaienz/32/19991_2.png) [@roccosaienz](https://forum.defold.com/u/roccosaienz)\
**Post date:** [February 6, 2021, 10:56am UTC](https://forum.defold.com/t/split-screen/67478/5 "2021-02-06T10:56:06Z")

</div>

@Pkeod thanks!

Yes, sure. But in this way the engine is rendering each object twice (and the viewports are filtering them).
