Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    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. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    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.