Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. On February 28th the Feedback website will shut down and be redirected to the Unity forums. See the full post for more information.
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Unity 2018.3 is now released.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Rendering multiple vcams to multiple RTT

Discussion in 'Cinemachine' started by augheyj, Oct 11, 2018.

  1. augheyj

    augheyj

    Joined:
    Oct 24, 2016
    Posts:
    4
    This question was mostly asked here: https://forum.unity.com/threads/is-this-possible-with-cinemachine.515208/ but the answer doesn't seem complete.

    I have multiple vcams and multiple Unity cameras all rendering to their own RTT. This is then composited by an final camera into (for example) a grid in a RawImage canvas.

    I can't seem to figure out how to have the brains target their specific vcams. Each brain attaches to the highest priority camera, regardless of anything I do with layers.

    The ultimate question is, I think, how do I have multiple brains use priorities from only from specific vcams?
     
  2. augheyj

    augheyj

    Joined:
    Oct 24, 2016
    Posts:
    4
    I seem to have stumbled on the answer. Set each cam to its own layer, and in culling mask for each camera, turn off the cam layers that it isn't on.

    Perhaps the brains could have a vcam mask parameter that would mask out vcams that it shouldn't look at.
     
    Gregoryl likes this.