🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Introduction to DXR AO on Simon's Tech Blog

Started by
0 comments, last by khawk 4 years, 8 months ago

Simon's Tech Blog has posted a blog entry on ambient occlusion with DirectX ray-tracing (DXR).

From the entry:

Quote

Back to today's topic, after setting up my D3D12 rendering framework, I started to learn DirectX ray-tracing (DXR). So I decided to start writing an ambient occlusion demo first because it is easier than writing a full path tracer since I do not need to handle material information as well as the lighting data. The demo can be downloaded from here (required a DXR compatible graphics card and driver with Windows 10 build version 1809 or newer).

Rendering pipeline

In this demo, it renders a G-buffer with normal and depth data. Then a velocity buffer will be generated using current and previous frame camera transform, stored in RG16Snorm format. Then rays are traced from world position reconstructed from depth buffer with cosine weight distribution. To avoid ray-geometry self intersection, ray origin is shifted towards the camera a bit. After that, a temporal and spatial filter is applied to smooth out the noisy AO image and then an optional bilateral blur pass can be applied for a final clean up.

passes.png

If you're interested in learning more about DX Ray-tracing techniques then check out the full blog post at DXR AO


View full story

Admin for GameDev.net.

This topic is closed to new replies.

Advertisement