FreshRSS

Normální zobrazení

Jsou dostupné nové články, klikněte pro obnovení stránky.
PředevčíremHlavní kanál

Unity/URP global volume with volume mask still applies effects to all layers

I simply would like to apply the Global Volume only on specific layers but I probably misunderstood how it works.

Environment & Inspectors

  • GameObject\ Main Camera - Volume mask\ Background

Main Camera

  • GameObject\ Global Volume - layer\ Background

GlobalVolume GameObject

  • GameObject\ Background_terrain - layer\ Background

enter image description here

  • GameObjects\ [All other game objects] - layer\ Default

This is the result: The cloud and the platforms outlined in red are Default layers while the rest is the Background.

enter image description here

Since the guide says that some effects are applied to the entire camera anyway, I tried about ten but they all apply to the entire camera render. I left only the DOF because it is the clearest to show you the result.

What am I doing wrong ?

Thank you !

❌
❌