UI Post-Processing in URP
Under Audit
Unity 2021.3.x - Unity 6.x
Published 4 days ago
Post-processing effects, such as bloom, applied through a Volume in URP, affect the entire scene, including UI elements, even when using a stacked camera setup for UI.
The issue describes difficulty applying post-processing effects, specifically bloom, exclusively to UI elements within the Universal Render Pipeline (URP). Even with a setup that includes a main Camera and a stacked UI Camera, where the UI Camera is configured to render only UI elements and the main Camera renders everything else, applying bloom through a Volume component results in the effect being applied across the entire game world. This happens despite the presence of both a default Volume and a dedicated UI Volume, indicating a challenge in isolating the bloom effect to only the UI layer.
- Ensure the
Volumecomponent’s Layer Mask property is configured to target only the UI layer and exclude other game elements. - Verify that the
Universal Additional Camera Datacomponent on your UICamerahas the Render Post Processing option enabled and that theVolumeoverride masks are correctly set to prioritize the UIVolume. - Investigate the
Volumeprofile assigned to the UIVolumeto confirm that it contains only the desired bloom effect and no global effects that might unintentionally propagate.
Editor's Note:
Related Posts Haven't quite found a solution to your problem? We think these posts might help you.
Content inspired by a Unity discussion post.