Skip to content
Projects

jiaozi158/UnitySSPathTracingURP

View on GitHub

About

Screen Space Path Tracing for Unity's URP (Universal Render Pipeline).

Games & Emulation

How these counts are measured

Measured star growth

in 24h
-1
in 7 days
-1
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

UnitySSPathTracingURP

Screen Space Path Tracing for Unity's URP (Universal Render Pipeline).

Please read the Documentation and Requirements before using this repository.

Screenshots

(BoxScene + Reflection Probe Fallback)

ProbeFallBackOn1

ProbeFallBackOn2

(Not Included)

Original Cornell Box

OriginalCornellBox

Classroom by Christophe Seux (CC0)

Classroom

Stormtrooper Star Wars VII by ScottGraham (CC-BY-3.0)

StormTrooper

Refraction (Lit by emission)

Refraction

Documentation

Here.

Requirements

  • Unity 2022.2 and URP 14 (enable TAA is recommended)
  • Deferred rendering path (OpenGL will always in Forward path)
  • Forward rendering path (need extra setup)
  • Multiple Render Targets support (at least OpenGL ES 3.0 or equivalent)
  • Lowering down the Render Scale (e.g. "0.5") on mobile devices and use upscaler (e.g. FSR 1.0) to reduce performance cost.
  • Use "Refraction Lit" shader graph to render screen space path traced refraction.

License

MIT MIT License

References

Three-Eyed-Games GPU-Ray-Tracing-in-Unity

Introduction to Path Tracing - Marc Sunet

Please see PathTracing.hlsl.

Explore related projects

Loading…