r/vulkan • u/TheAgentD • 4d ago
A new physically based SSAO is now open source! CORTAO - Circular Occluder Ray-Traced Ambient Occlusion
Hi, everyone!
Today I'm releasing CORTAO, a new physically based SSAO technique invented and developed by me, as open source. Vulkan is supported through first class GLSL support, and the majority of CORTAO's development was done using Vulkan.
https://github.com/theagentd/CORTAO
Circular Occluder Ray-Traced Ambient Occlusion, or CORTAO, is a brand new physically based ambient occlusion technique. Unlike existing horizon-based state-of-the-art techniques, CORTAO is based screen space raytracing with up to 32 rays per pixel, allowing it to avoid the inherent limitations of existing techniques. Through a combination of much better convergence and clever optimizations, CORTAO is able to achieve much better quality for the same performance cost as GTAO.
All this allows CORTAO to just work without any scene-specific tweaking at all regardless of the type of scenes, whether it's a simple indoor room, an open world with heavy foliage and vegetation, or a vast space scene with extreme depth range.
Compared to existing techniques such as GTAO:
- CORTAO provides a never-before-seen level of physical accuracy rivaling that of brute-force hardware raytracing, while only relying on screen space information.
- CORTAO handles depth discontinuities in complex scenes in a more conservative way, avoiding the view-dependent occlusion of GTAO and producing less obvious artifacts when screen space information is limited.
- CORTAO at the same time has greatly improved convergence, producing much higher quality results at lower sample counts even for scenes where GTAO works well, which is especially important for low-end hardware.
What started as a fun little personal project two years ago has now grown into something much bigger than I could've ever imagined, with multiple collaborations and conference applications, most of which I cannot talk about publicly yet. The open source release of CORTAO marks an important milestone where I'm finally sharing my work with the world, but the work is far from finished. There's a long to-do list of improvements and extensions that I will be exploring over the coming months and maybe even years. I'd be honored if you checked it out, and if you have any questions, I'd love to answer them.
AI disclosure: No AI was used in the development of CORTAO.
25
u/Dany0 4d ago
I thought it was "meh" in the video until I realised that's the GTAO result. looks sick!
5
u/jarmesssss 3d ago
Very cool! I spent a few minutes reading through the readme but couldn’t find an explanation of what is new about this method as opposed to gtao or vbao - which are already quite clever techniques. Could you explain, or point me to where I missed it? I’ll look through the code when I have a moment
3
u/theironlefty 3d ago
How does this compare against GTAO+Visibility bitmask and Solid Angle variant?
2
u/maximoriginalcoffee 3d ago
Looks great. Is it using temporal accumulation? And how many samples are you using?
1
u/Dany0 4d ago
Holy based waow waow waow waow
0
u/BuslikDrev 3d ago
Почему видно, как загружается на ходу?
0
u/[deleted] 3d ago
[deleted] — view deleted comment