Cam Resolution

Hi everyone,

i’m using Unity 5.2.2 and i have a question regarding the resolution of the cameras.

When my canvas has a resolution of 1280x720, did the cameras have the same resolution? I mean, it’s streched very well and it’s allright. But i am thinking, if it’s possible, to improve the performance by changing the game-camera resolution to a lower one.

Thank you.

The “Frame Buffer Size” which influence video memory usage and gpu bandwith, is the key factor to performance.
Not sure if this is exactly equal “Camera resolution” you mentioned above.

=> So if you want improve performance, you could try to use a smaller resolution framebuffer ( default back framebuffer, or render target ).
=> However you will get a more mosaic with lower resolution. You have to made a decision between performance and quality.

Thank you very much for your reply. Could you tell me please, where i can change the Frame Buffer Size?

If you are developing with native graphic API, you get full control of default frame buffer size.
But in unity you have to use a more trick approach to achieve this goal…

The setps will be
=> Create a 1/2 or 1/4 render target and attach to your main camera.
=> Execute normal rendering to this render target.
=> Stretch blit this small render target to default back frame buffer.