Hello!
I’m using Universal rendering pipeline, XR Interaction toolkit and have set up Post Processing with Bloom and a Vignette effect. I can see the effects in the 'editor but nothing in VR. Does anybody have any suggestions on how I can fix this?
Hello!
I’m using Universal rendering pipeline, XR Interaction toolkit and have set up Post Processing with Bloom and a Vignette effect. I can see the effects in the 'editor but nothing in VR. Does anybody have any suggestions on how I can fix this?
Have you added a post process layer to the VR Camera?
@mattxreality Thanks! I was getting crazy looking for this
URP Post-processing
——————————-
Install URP package via package manager.
[Post processing via package manager does not install. It’s not necessary. URP does not support PPv2]
Create Global Volume in hierarchy.
[ex. create 3dobject > cube]
—> Right click > volume > global volume
—> click on new button[create volume profile]
—> Add override > post processing > add any effect.
[Must set in your URP rendering pipeline > Post processing > Featured Set : Integrated ]
How can enable post processing.
—-> MainCamera > Rendering > post processing Tick in check box.
[it’s not necessary to add post processing layer component to camera or VR camera.
please remove the post processing layer in camera.it’s not supported in URP]
Useful Link: Post-processing in the Universal Render Pipeline | Universal RP | 7.1.8
Post processing layer is part of Post processing V2. It doesn’t support to URP pipeline.
Only create global volume via right click in hierarchy view.
I’m stuck in the very same problem. Has anyone figured it out?
Tried already everything you guys told to do.
That’s my problem. The effects are shown in the scene and also in the game tab, but not in the VR Camera (from the XR Rig)
I also experience this in VR - Unity 2021, URP 11.0, Post processing v3, global volume with a profile, Post processing enabled in both URP asset profile and on main camera => works fine in Editor (scene and game view) but does not work when running from Editor on Oculus (Quest 1 using Link). The VR setup is based on MRTK 2.7.3 and Oculus SDK latest.
Found the problem in my case: MRTK created a new camera that did not had the initial camera settings. I was able to find this by viewing all cameras at runtime: search after t:Camera.
To make it work at runtime, I had to manually set the Post processing like this:
cameraRig = GameObject.FindObjectOfType<OVRCameraRig>();
if (cameraRig != null)
{
var cameras = cameraRig.GetComponentsInChildren<Camera>();
foreach (var cam in cameras)
{
var UAC = cam.GetUniversalAdditionalCameraData();
UAC.renderPostProcessing = true;
}
}