Skip to content

A simple project for learning DX12 and DirectX Raytracing API.

Notifications You must be signed in to change notification settings

Mr-222/Raytraced_Radiance_Transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raytraced_Radiance_Transfer

A simple project for learning DX12 and DirectX Raytracing API. Trace 4 rays each pixel each frame(4spp) to capture low frequencies of environment lighting, and use spatial temporal filtering to denoise shading result. Dynamically update the light probe in the scene.

Instruction

  • Use WASD to move camera, and use mouse to look around.
  • Use IJKL to move the object in the scene.

Requirements

  • RTX Graphics Card
  • Visual Studio 2019 or higher version

Motivation

To learn DX12 and DirectX Raytracing API, I decide to use the API to write something, then I found implementing real-time raytracing denoising algorithms is an interesting option. As a beginner, it's a great pain to write native non-encapsulation DirectX12 code. At the end, although I made it, the code was already in a mess. By the way, the code structure is built upon Frank D. Luna's book Introduction to 3D Game Programming with Direct3D 12.0 and Microsoft's Direct3D 12 raytracing samples.

Result

You can see the soft shadow and the diffuse reflection of environment lighting. result

About

A simple project for learning DX12 and DirectX Raytracing API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published