Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Best way to switch two PostProcessing profiles on a CinemachineFreeLook camera?

Discussion in 'Cinemachine' started by MSachs, Jan 31, 2019.

  1. MSachs

    MSachs

    Joined:
    Nov 22, 2017
    Posts:
    101
    Hi,

    I have a a CinemachineFreeLook camera and would like to have different PostProcessing effects in certain situations. So far I tried deactivating the specific effect on the profile and switching out the profile which is attached to the Cinemachine PostProcessing volume with another one. Both of those methods seem to work but only actually update the Post Processing if the FreeLook is activated in the inspector at runtime. In a build as well as in "Maximize On Play" mode there is no effect whatsoever...

    Is there even a way to switch two profiles, so it updates without having to manually activate it by clicking it in the inspector?

    Thanks in advance.
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    2,725
    Maybe a better way would be to have a separate FreeLook for each PP profile, and activate deactivate them, letting CM do the blend