Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question HDRP multiple cameras performance

Discussion in 'High Definition Render Pipeline' started by NullQubit, Aug 29, 2023.

  1. NullQubit

    NullQubit

    Joined:
    Jun 1, 2015
    Posts:
    11
    Hi,

    I've found a ton of posts regarding multiple cameras in HDRP and how they tend to remind you how it felt when you could only afford an ATI Radeon DDR, but the problem is always about some FPS weapons or some minimap for which there are solutions without additional cameras.

    What if you have an in-game surveillance screen and you need to show what another camera is seeing somewhere else in the scene? Is this still not supported in HDRP without an rtx4080 GPU farm?

    Thanks!
     
  2. HIBIKI_entertainment

    HIBIKI_entertainment

    Joined:
    Dec 4, 2018
    Posts:
    543
    Sadly the mass majority of it, especially if going to CCTV style feeds is to use a secondary camera turning the features and offloading anything and everything you can to a shader.

    As you probably already know however, the majority is tuning custom frame settings but still adding the second camera still has a significant cost.


    A list of stuff we've explored with though:

    - sensor size/physical camera settings
    - turning off features via the custom frame settings ( and offloading any you can to a shader in the screen)
    - Culling layers and light layer you don't need
    - Adjusting culling distances really tight
    - Using a lower resolution render textures/LOD bias'
    - Proxy content / imposters to sell the look of the CCTV
    - baked lighting content just for that camera
    - screen space techniques
    - staggering rendering FPS
    - async rendering ( DX12)

    Though in a different context the Cinema studio demo that unity has with the mik.l short does use a second camera render texture, and although it's content isn't gameplay focused, could still be worth a small study casem though IIRC it's just turning off the custom frame settings, but it's worth seeing it in a full production scenario.
     
    NullQubit and FriendNFoe like this.