- Home /
Do multiple viewpoints require Unity Pro?
I have an idea for a game where you control multiple units and you have little windows showing each unit's point of view on screen.
As far as I can tell, in order to do this in Unity I would need Render-To-Texture and so I would need Unity Pro - is this correct?
Answer by speedything · Nov 01, 2012 at 02:55 PM
You can always use multiple cameras.
myCamera.rect = new Rect(0, 0, 1, 1)
This is what a basic full screen camera is doing. It's bottom-left corner is at 0,0 while it's width and height cover the full screen (1,1)
If you wanted two cameras split screen (one on the left, one on the right) you would set them so that
camera1.rect = new Rect(0,0, 0.5f, 1);
camera2.rect = new Rect(0.5f, 0, 0.5f, 1);
There is no reason, bar maybe performance issues, why you can't have lots of cameras on top of each other, or in their own areas of the screen. You just have to set their rects correctly.
Your answer
Follow this Question
Related Questions
[Pro] How do I make programmatic Render-to-Texture work? 1 Answer
Skinned Meshes cutted out on Render Texture 1 Answer
Irregular shape window to a different background world? 0 Answers
RenderTexture not working when in Editor 1 Answer
What is difference between Camera.SetTargetBuffers and setting Camera.targetTexture? 1 Answer