arfoundation-samples icon indicating copy to clipboard operation
arfoundation-samples copied to clipboard

Post processing v2 with LWRP causes artifacts on camera

Open kbegiedza opened this issue 8 years ago • 13 comments

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)

log-iPhone6s.txt

kbegiedza avatar Nov 14 '18 12:11 kbegiedza

still working on lwrp_support to support more recent lwrp versions. that might fix this issue. will take a look after that.

jimmy-jam avatar Nov 14 '18 21:11 jimmy-jam

Will LWRP support always require custom code, like in lwrp_support branch, or will it be built into ARFoundation package itself at some point?

StewMcc avatar Dec 08 '18 18:12 StewMcc

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 avatar Dec 08 '18 20:12 tdmowrer

@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! :)

bitfabrikken avatar Dec 28 '18 08:12 bitfabrikken

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 avatar Dec 28 '18 18:12 tdmowrer

@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..

bitfabrikken avatar Dec 28 '18 18:12 bitfabrikken

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 avatar Dec 28 '18 18:12 renaudbedard

@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!

bitfabrikken avatar Dec 28 '18 19:12 bitfabrikken

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.

jimmy-jam avatar Dec 29 '18 04:12 jimmy-jam

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.

aviggiano avatar Feb 06 '19 22:02 aviggiano

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.

jimmy-jam avatar Feb 07 '19 17:02 jimmy-jam

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.

aviggiano avatar Feb 07 '19 19:02 aviggiano

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

mdurand42 avatar Apr 20 '20 23:04 mdurand42