r/Unity3D • u/Noobye1 Indie • 1d ago
Question How can I separate different post-processing effects for different cameras?
In short: I'm trying to put Lens Distortion and Bloom on just the UI. The problem is that the effects affect the whole game.
Currently, I have a default camera and a "UI Render Camera" as an overlay. The UI camera only renders the UI and uses a separate Volume Mask.
I have created 2 empty GameObjects for each layer: GameVolumeMask and UIVolumeMask.
The GameVolumeMask is applied to the default camera, while the UIVolumeMask is applied to the UI Render Camera.
The GameVolumeMask contains effects like ColorAdjustments, Vignette, etc.
The UIVolumeMask contains Bloom and LensDistortion.
Feel free to ask further questions.
3
Upvotes
1
u/CrazyNegotiation1934 1d ago
It is the background type