tigrazone / CustomRayTracing

Path Tracing with Unity RayTracing Shader

Repository from Github https://github.comtigrazone/CustomRayTracingRepository from Github https://github.comtigrazone/CustomRayTracing

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) 图片

About

Path Tracing with Unity RayTracing Shader


Languages

Language:C# 79.8%Language:HLSL 13.1%Language:ShaderLab 6.9%Language:Mathematica 0.2%