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

Question Desaturate UI to match camera

Discussion in 'Cinemachine' started by jimmack, Jul 20, 2022.

  1. jimmack

    jimmack

    Joined:
    May 2, 2016
    Posts:
    20
    I have a ghost character with a child Cinemachine virtual camera that zooms in on the character during the CM transition process, fades the saturation and adds a vignette using the Color Adjustments and Vignette overrides.

    The UI remains in full colour, but I would like to desaturate that too. The UI Canvas Render Mode is Screen Space - Overlay and I'm not sure about the relationship between that and the virtual camera.

    Is there a way to include the UI in the virtual camera desaturation, or do I need to create a script to manage this in parallel?

    upload_2022-7-20_16-43-34.png
    Showing Vignette and desaturation of the scene, but UI remains full colour.
     
    Last edited: Jul 20, 2022
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,658
    I assume you're using CinemachineVolumeSettings to do the effects.

    Under the hood, Cinemachine just creates a global volume with your effects, and blends the weight in and out to match the vcam's blending. Maybe you can ask on the Graphics forums how to get a global volume to affect UI.
     
  3. jimmack

    jimmack

    Joined:
    May 2, 2016
    Posts:
    20
    Thanks. I'll see if someone there can help and if so, I'll post a link to that response here.
     
    Gregoryl likes this.