Screen Space Path Tracing for Unity's URP (Universal Render Pipeline).
This shader is created in Shader Graph with the new URP 14 Full Screen Pass Renderer Feature.
This effect seems to be usable (stability, speed & noisiness) when I tested it on mobile device, so I decide to share it.
Please read the Documentation and Requirements before using this repository.
(BoxScene)
Note: Enable URP Temporal Anti-aliasing is important for improving stability. (exists since URP 15)
Here.
- Unity 2022.2 and URP 14 (URP 15 is recomended with TAA enabled)
- Deferred rendering path (OpenGL will always in Forward path)
Three-Eyed-Games GPU-Ray-Tracing-in-Unity
Please see PathTracing.hlsl.