This project is read-only.

Split Screen

It is possible to render several cameras in different areas of one render target (or different render targets if it is needed). Each camera is rendered at a time and therefore draw calls and state changes will be potentially duplicated, however, the auxiliary render targets will be shared automatically and less memory will be needed.


To configure two cameras in split screen mode you have to set the MasterCamera property of the Camera component attached to the slave camera to point to the master camera. This association binds the two cameras assuring that both results will be placed over the same render target. Then you need to specify for each camera the region of influence. There are two options, to specify these regions in normalized coordinates (from 0 to 1) or in screen space (pixels), the properties are NormalizedViewport and Viewport respectively and are placed in the Camera component.

Point and spot shadows calculations are shared between cameras if it is possible.

Last edited Jan 24, 2013 at 4:38 AM by jischneider, version 5


No comments yet.