I originally posted this in the engine source section, but wasn’t getting much luck, so I’ve deleted that thread, and moved it over here.
So, I’ve been having a quick look into adding a gaussian blur pass to the SSAO, so it doesn’t need to rely on TXAA (Which has been causing a bunch of issues in my project).
So far, I’ve tried adding the following snippet to “ProcessAfterBasePass” in CompositionLighting.cpp, however it doesn’t seem to be having any real effect.
Sorry to bump an old thread, but I’ve been working on blurring the SSAO buffer for use with FXAA as well. I grabbed PBKS’s pull request from git (here) and got it to compile with 4.12, but I’m not seeing any changes to the SSAO. I ended up commenting out the CVARS just to narrow it down, and after debugging with VS I found that in PostProcessWeightedSampleSum this line:
never gets called. I looked into how the full screen blur and bloom calls it but it looks identical to what was written here and they somehow call the process function, so I’m not sure what I am missing. Anyone get this pull successfully implemented in 4.12?
Temporal still definitely looks the best when looking at the buffer directly, but in the complete scene blurriness of the Gaussian blur is far superior to the grainy dithered look of the unfiltered image if you are using FXAA. We are using a full 1080p buffer for PS4 anyways so the lack of super clean AA is not as noticeable as if we were up-scaling.
Thanks for the comparison! I’m trying to implement this too, but unfortunately I get some strange results. I also see everything turning red when the static friction is more than 0, but that’s not really a problem. The blur itself doesn’t seem to work correctly, it looks way worse than on your screenshot:
I have still not found how to make this work in 4.14 or 4.15, so if anyone knows how to get this working without getting those strange artifacts, I would love to hear about it
[MENTION=2791]James Steininger[/MENTION]
I also had the problem that I only got the SSAO to appear on one eye in VR when I had the changes applied, the other eye would not see any SSAO.