/CustomRayTracing

Path Tracing with Unity RayTracing Shader

Primary LanguageC#MIT LicenseMIT

Hybrid Ray Tracing for Unity URP pipeline (Unity URP 2023.3 beta+)

Features

  • Developed with RenderGraph API
  • Path tracing pass Injected as volume component
  • Support URP Lit.shader & ComplexLit.shader (Modified)
  • Support Hybrid ray tracing (Path Tracing from G-Buffer, Temporal reuse with motion vector)
  • Support Bounded VNDF sampling for smith-GGX reflections
  • Support temporal reuse ReSTIR (motion vector used)

Pictures

Sponza

2.1 Path Tracing result (raw, 1spp) 图片

2.2 Path Tracing result (trace from G-Buffer, 1spp) 图片

2.3 Path Tracing result (temporal ReSTIR, 1spp) 图片

2.4 Ground Truth (8192spp) 图片