Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    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:
    105
    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:
    3,702
    Maybe a better way would be to have a separate FreeLook for each PP profile, and activate deactivate them, letting CM do the blend
     
unityunity