I'm making a game and needed a quick modelling tool that is becoming it's own app now. Since I'm an architecture student, I'm combining game optimization with CAD.
In Godot, the built-in SSAO runs well but it wasn't giving me the tight contact shadows a building model needs. So I ported Intel's XeGTAO (ground-truth-based
ambient occlusion) as a drop-in CompositorEffect. It's free and MIT-licensed. Performance is similar to the Godot's AO.
What it does:
Drop-in CompositorEffect, no engine changes. Forward+ and Mobile renderers.
Works with MSAA and orthographic cameras.
Reprojected temporal accumulation, so it stays clean while the camera moves, without TAA.
Four quality levels, an edge-aware denoiser, a half-resolution mode and an optional multi bounce term.
Measured on my RTX 3050 Ti laptop, 1080p, MSAA 4x: about +2 ms for XeGTAO High, +0.5 to 1 ms at half resolution, versus +1 ms for Godot's SSAO on Medium.
Things to know:
It's applied to the final image, so it also darkens direct light. Godot's SSAO only affects ambient light by default. For a stylised or architectural look that's often what you want, but it isn't physically correct in full sun. Still looks good in my opinion.
Objects that move while the camera stays still aren't reprojected yet. Call reset_accumulation() when they move.
No Compatibility renderer (it has no compositor effects).
Code: https://github.com/sunwards-art/godot-xegtao
Credits: Intel XeGTAO by Filip Strugar and Steve McCalla (MIT). GTAO method from Jimenez et al., "Practical Real-Time Strategies for Accurate Indirect Occlusion" (SIGGRAPH 2016).
Amazon Lumberyard Bistro (ORCA, CC BY 4.0), Godot port by Logan Preshaw, tweaks by John James Gutib (Jamsers).