/SimpleDxrPathTracer

Simple DXR powered PathTracer in Unity

Primary LanguageShaderLabMIT LicenseMIT

DXR PathTracer in Unity

Alt text Alt text

Simple PathTracer implemented in Unity and powered by DXR. You can see it as an example how to use DXR API/shaders in Unity.

  • Dead simple. Only few hundred lines of code. No Monte Carlo integration, no probability distribution functions, no importance sampling, no denoising. It should be easy to follow (assuming you know what a path-tracer is)
  • Implemented for default unity renderer
  • Four simple material types (diffuse, metal, glass and emissive material)
  • No analytical light sources, only emissive materials and a simple "emissive" background
  • Not physically accurate
  • Very simple, very slow

Requirements

  • Unity 2019.3b2 or newer
  • DXR compatible graphics card (NVidia RTX series or some cars from NVidia GeForce 10 and 16 series)
  • Windows 10 (v1809 or newer)