Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 3.04 KB

File metadata and controls

53 lines (35 loc) · 3.04 KB

D3D12 Raytracing Samples

This collection of samples act as an introduction to DirectX Raytracing (DXR). The samples are divided into tutorials and advanced samples. Each tutorial sample introduces a few new DXR concepts. Advanced samples demonstrate more complex techniques and applications of raytracing.

Getting Started

Tutorial Samples

This sample demonstrates how to setup a raytracing pipeline and render a triangle in screen space.

D3D12 Raytracing Hello World GUI

This sample demonstrates how to do ray generation for a dynamic perspective camera and calculate simple diffuse shading for a cube from a dynamic point light.

D3D12 Raytracing Hello World GUI

This sample demonstrates how to implement procedural geometry using intersection shaders and shows usage of more complex shader table layouts and multiple ray types.

D3D12 Raytracing Procedural Geometry GUI

This sample modifies the Simple Lighting sample, and illustrates how to use library subobjects.

D3D12 Raytracing Library Subobjects GUI

Advanced Samples

This sample implements a real-time denoiser for 1spp raytraced Ambient Occlusion. It also demonstrates a physically-based specular pathtracer implementation and dynamic geometry support.

D3D12 Raytracing Real-Time Denoised Ambient Occlusion

This sample demonstrates integration of the DirectX Raytracing in the MiniEngine's Model Viewer and several sample uses of raytracing.

D3D12 Raytracing Mini Engine

Requirements

  • Visual Studio 2019.
  • Windows 10 May 2019 (18362) SDK.
    • Windows 10 with the May 2019 update.
    • Dx12 GPU with a compatible DirectX Raytracing driver.
      • Nvidia: driver version 415 or higher.
      • Other vendors - please consult the vendor you’re working with for HW and driver availability.

Further resources

Feedback and Questions

We welcome all feedback, questions and discussions about DXR on our discord server.