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
- GameObject\
Global Volume
- layer\Background
- GameObject\
Background_terrain
- layer\Background
- 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
.
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 !