Version 1.3
RTX Global Illumination (RTXGI) is a collection of algorithms that leverage GPU ray tracing to provide scalable solutions for rendering real-time Global Illumination (GI). The goal of RTXGI is to provide optimized implementations of global lighting algorithms that are flexible enough to be useful in both real-time and pre-computed lighting scenarios. Focusing on scalability allows RTXGI to be an effective tool across a wide range of platforms with varying computational capabilities.
Algorithm implementations provided here require graphics APIs and platforms with support for GPU ray tracing (e.g. Microsoft DirectX Raytracing or Vulkan Ray Tracing). That said, it is possible to use RTXGI's Dynamic Diffuse Global Illumination algorithm on development machines with GPU ray tracing support, store the lighting data, and then load the (static) lighting data at run-time on platforms without GPU ray tracing support.
For more information on RTXGI, see the NVIDIA Developer Page.
This repository contains the RTXGI SDK, a sample application, the RTXGI Unreal Engine 4 plugin, and associated documentation.
Although we aim for RTXGI to eventually provide a collection of global illumination algorithms, the current SDK provides one algorithm based on Dynamic Diffuse Global Illumination (DDGI), first described in this academic publication from NVIDIA Research along with collaborators at McGill University and the University of Montreal. Since DDGI is based on irradiance probes (the pre-computed variety are already commonly used in games), it is an ideal entry point for developers to bring the benefits of real-time ray tracing to their tools, technology, and applications without substantial performance penalties. Furthermore, the implementation here includes performance improvements and optimization techniques not available elsewhere.
rtxgi-sdk contains the SDK source code
rtxgi-sdk/include contains the include files used by host code and some shaders
rtxgi-sdk/src contains the host source code and useful utilities
rtxgi-sdk/shaders contains the HLSL shader code to be compiled with the provided DirectX Shader Compiler (DXC)
samples contains the Test Harness sample application that demonstrates and exercises the SDK's functionality
thirdparty contains third-party software used by the sample application(s)
ue4-plugin contains the RTXGI Unreal Engine 4 plugin source code and documentation
docs contains helpful guides and documentation
external/agilitysdk contains a compatible recent version of the DirectX 12 Agility SDK to use when running on Windows (delivered by CMake)
external/dxc contains a compatible recent version of the DirectX Shader Compiler for your platform (delivered by CMake)
The RTXGI SDK and sample application(s) require the following hardware and software:
See the Unreal Engine Plugin