Skip to content

Path tracer in Unity Engine, using techniques such as multiple importance sampling, TAA, EAW denoiser, SVGF denoiser, filed of depth, BVH, Disney BRDF, refraction etc.

Notifications You must be signed in to change notification settings

zhuzhanji/Path-Tracing

Repository files navigation

(Caution: This repository is currently under active development and quite unstable. Be aware of this before cloning.)

Features:

  • Path Tracing

  • Multiple Importance Sampling, Russian Roulette

  • Spatiotemporal Variance-Guided Filter

  • Edge-avoiding À-Trous Wavelet Filter

  • Fireflies mitigation

  • Simple TAA

  • Field of Depth

  • BVH

  • Metallic workflow

  • Refraction, Disney BRDF, Phong

  • GBuffer

  • Skybox

  • Unity

  • Adjustable SPP/frame ((1 spp to 32 spp per frame)

Demo

  • path tracer + taa + skybox + metallic workflow + refraction
image
  • Multiple importance sampling

Less noisy and faster to converge when the light source is small. image

  • Denoisers

SVGF is more temporally stable than EAW.

My.Movie.mp4

Todo

  • Material: albedo map, normal map etc
  • SVGF albedo demodulation and modulation after albedo maps are added

Reference

https://www.pbr-book.org/3ed-2018/contents

https://raytracing.github.io/books/RayTracingTheRestOfYourLife.html

Edge-avoiding a-trous wavelet transform for fast global illumination filtering.

https://bitbucket.org/Daerst/gpu-ray-tracing-in-unity/src/master/Assets/RayTracingMaster.cs

About

Path tracer in Unity Engine, using techniques such as multiple importance sampling, TAA, EAW denoiser, SVGF denoiser, filed of depth, BVH, Disney BRDF, refraction etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published