Post processing v2 with LWRP causes artifacts on camera
Hey, When I add post processing v2 to my AR scene/camera it produces artefacts. I'm using AR LWRP Rendering asset from lwrp_support branch.
(I have submitted it already via build-in bug report too)
still working on lwrp_support to support more recent lwrp versions. that might fix this issue. will take a look after that.
Will LWRP support always require custom code, like in lwrp_support branch, or will it be built into ARFoundation package itself at some point?
Support is built in. It's the sample that is on a separate branch because it brings in additional packages that requires a specific version of Unity.
@tdmowrer I don't think that is correct. I haven't been able to get LWRP + ARFoundation working with anything but 3.3.0 of LWRP and the custom camera scripts included in the LWRP branch. But please tell me I'm wrong - I hope I am! :)
It's builtin in that you don't need a special package version of ARFoundation. However, each version of LWRP is a bit different and supporting each one simultaneously will require special handling. 3.3.0 is the only supported version of LWRP at the moment.
@tdmowrer Okay, I'm having a hard time understanding, sorry. It's fine if its just for the samples, they do say it's only for 3.3.0.
I did manage to get up and running with the latest LWRP and AR Foundation, but can't get the camera working properly - I think I need a background asset file, but the one from the 3.3.0 sample doesnt work. I've asked on the forums, but maybe theres an obvious solution I'm missing? Sorry for hijacking this..
For what it's worth, I was able to port the current ARFoundation samples to LWRP 4.6, but some features are still broken : HDR and Post-Processing result in a blank screen. So it's possible to do intuitively, I could upload a sample project if you can't figure it out at all.
@renaudbedard that would definitely be a life saver. I spent 3-4 hours earlier trying to get it to work, but had to give up. Would love to see your sample project to see how you did it!
fwiw, i have been working on making the sample that will work with the next version of the LWRP package, and I've been waiting for that to be released (it contains the mechanism to fix the issue). I'll check on that again next week.
Has anyone had any success using Post Processing with AR Foundation? We've been using LWRP 3.3 with success, however PP Layer doesn't work, as you all know.
From the latest thread (https://forum.unity.com/threads/arfoundation-now-supports-lwrp-4-8-0-preview.615109/) , jimmya said PostFX v2 was supposed to work, however we've updated our project to use ARFoundation with LWRP 4.8 and we found the same blank screen issue.
Has anyone had any success using Post Processing with AR Foundation? We've been using LWRP 3.3 with success, however PP Layer doesn't work, as you all know.
From the latest thread (https://forum.unity.com/threads/arfoundation-now-supports-lwrp-4-8-0-preview.615109/) , jimmya said PostFX v2 was supposed to work, however we've updated our project to use ARFoundation with LWRP 4.8 and we found the same blank screen issue.
It should work - could you submit a bug using Unity Bugreporter with a sample project attached, and then let me us know the bug number here so that we can have a look at it.
Hello @jimmy-jam,
Thanks for the prompt reply. To demonstrate the issue, this is the sample project we're using with LWRP + ARFoudation + PPv2 (Ambient Occlusion active in this case at the LWRPSampleScene). The build platform was iOS.
Do you have any examples with ARFoudantion + LWRP + Post Processing V2 for us to see? It would be amazing to see all these great tools combined, especially because there aren't that many tutorials out there.
Here are instructions for setting up an ARFoundation project to use URP: https://docs.unity3d.com/Packages/[email protected]/manual/ar-camera-background-with-scriptable-render-pipeline.html