Search Unity

Render Textures and Cinemachine Brains

Discussion in 'Cinemachine' started by stonstad, Jan 20, 2022.

  1. stonstad

    stonstad

    Joined:
    Jan 19, 2018
    Posts:
    660
    What is the mechanism for associating a specific cinemachine brain with a virtual camera?

    - I use the first cinemachine virtual camera and brain for controling the player's camera.
    - The second virtual camera and brain controls a camera which renders to a render texture.

    The second camera is for a viewscreen in a cockpit when players talk to each other. Having a cinemachine virtual camera for the second camera is terrific because of the realism it provides.

    The problem I'm seeing is that when the second brain is active the first brain is disabled. When the first brain is disabled the player's view is invalid. It appears that an easing transition occurs when a change occurs.

    How does one work around this limitation?

    Thank you!
     
  2. stonstad

    stonstad

    Joined:
    Jan 19, 2018
    Posts:
    660
    Resolved:

    https://unity.com/how-to/add-dynami...jects-cinemachine#multiple-cinemachine-brains

     
    Last edited: Jan 20, 2022
    tanta-bnm, antoinecharton and gaborkb like this.