Search Unity

Question Help: Want a global volume's override to affect only 1 camera.

Discussion in 'General Graphics' started by GuirieSanchez, Sep 27, 2022.

  1. GuirieSanchez

    GuirieSanchez

    Joined:
    Oct 12, 2021
    Posts:
    452
    Hi there,

    I have set up 2 cameras (one camera for mid and foreground, and a second camera for the background), and I have a global volume with 2 overrides (one for blur and another for color adjustment). If I set only the background camera to be affected by post-processing effects, I get the expected result: Only the background gets blurred. However, I want both cameras to be affected by the color adjustment override. If I set both cameras to be affected by post-processing, while the color adjustment affects everything as expected, so does the blur effect.

    Since I can't create multiple global volume settings or assign some overrides to specific cameras (that I know of), is there anybody who knows how to do it or knows how to get the desired result?

    Thank you.
     
  2. GuirieSanchez

    GuirieSanchez

    Joined:
    Oct 12, 2021
    Posts:
    452
  3. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,491
    GuirieSanchez likes this.
  4. GuirieSanchez

    GuirieSanchez

    Joined:
    Oct 12, 2021
    Posts:
    452
    Sorry, I didn't know what the correct forum for this question was.

    I would highly appreciate it
     
    MelvMay likes this.
  5. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,491
    Done.
     
    GuirieSanchez likes this.
  6. GuirieSanchez

    GuirieSanchez

    Joined:
    Oct 12, 2021
    Posts:
    452
  7. peter_sibiro

    peter_sibiro

    Joined:
    Jan 19, 2017
    Posts:
    1
    If I'm not mistaken, you can do 2 global volumes. They need to be placed in different objects layers and you will need to select them properly in the Post processing layer object attached to each camera.