Search Unity

Adding an Overlay Camera

Discussion in 'Cinemachine' started by totsboy, Dec 10, 2019.

  1. totsboy

    totsboy

    Joined:
    Jul 12, 2013
    Posts:
    253
    I want to add a camera on top of all others to render some special effects, how would I do that in Cinemachine?
    I have a Cinemachine brain with a few 3d cameras, so I added a second brain and a 2d virtual camera, and created a layer for both of them.
    Still, it only renders the camera with top priority (clear flags set do Depth Only). The same setup would work in regular unity without cinemachine.

    Thanks
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
    Cinemachine should not be affecting this. It controls only the camera positioning. You must have set it up differently in your CM scene.