beinteractive / LWRPAmbientOcclusion

Post-Processing Stack v2 Ambient Occlusion works on Lightweight Render Pipeline
185 stars 21 forks source link

Incompatible with LWRP 3.0.0-preview #1

Open Krxtopher opened 6 years ago

Krxtopher commented 6 years ago

I was so happy to find your solution, but unfortunately it has a ton of compile errors when used with LWRP 3.0.0-preview.

urosmarinkovic commented 5 years ago

just add line 34: private readonly RenderTargetIdentifier? DestAO;

and change line 129 to: msvo.GenerateAOMap(cmd, cam, AmbientOnlyAO, DestAO, false, false);

works in unity 2018.3.0f2 lwrp

edit: works with postprocessing up to 2.0.17 only

PinkPanter commented 5 years ago

Check this out https://github.com/beinteractive/LWRPAmbientOcclusion/pull/2

I added support up to 2.1.2