Does Having 2 Camera (Rendering Different Layer) Affect Performance in 2D Mobile Game

I’m developing a 2D mobile game using 2 camera.
I’m basically trying to make a simpler version of this :

Camera that i used
1 perspective camera to render the environment (parallax).
1 orthographic camera to render mini game.

here’s the property for both camera:

  1. Perspective Camera
    5014007--490841--1-2.PNG
  2. Orthographic Camera
    5014007--490847--2-2.PNG

Well, it does, but you probably won’t even notice that. I’ve worked game with 10+ (5 layers 2d + 3d camera for each and a few more for player and UI) cameras about 4 years ago and it was not a problem even back then. A couple of skinned mesh renderers in scene cosumes far more cycles than a dozen of cameras.

1 Like

Oh i see…
I just hope it won’t destroy my game performance
Thanks!

Well, actually you can destroy performance by adding a camera. Once I was working on the online multiplayer robot war game and another developer was working on the minimap. We had level 2000 x 2000m. To create the minimap, he putted camera above the map. That camera was rendering whole scene without any LOD ino 200x200 pixels texture… Performace dropped to 4-6fps :slight_smile: