🔹 A real-time raytracing and pathtracing demo built with DirectX 12 and DXR (DirectX Raytracing).
🔹 Raytracing: implements realistic reflections, shadows, and global illumination.
🔹 Pathtracing: simulates global illumination using Monte Carlo integration for realistic lighting and soft shadows.
🔹 Implemented using HLSL, DirectX 12, and C++.
📌 Watch the demo in action:
| Raytracing |
|---|
![]() |
| Pathtracing White | Pathtracing Yellow |
|---|---|
![]() |
![]() |
(Click to open on YouTube)
- Windows 10/11 with DirectX 12 support
- DXR-compatible GPU (RTX 20xx+, RX 6000+)
- Visual Studio 2022 with Desktop development tools for C++.
All dependencies are included. Just:
- Open the project in Visual Studio 2022.
- Build (
Build>Build Solution). - Run (
Debug>Start Without DebuggingorCtrl+F5).








