Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    5
    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:
    5
    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.