https://github.com/jiaozi158/unitysspathtracingurp
Screen Space Path Tracing for Unity's URP (Universal Render Pipeline).
https://github.com/jiaozi158/unitysspathtracingurp
path-tracing unity universal-render-pipeline urp
Last synced: 3 months ago
JSON representation
Screen Space Path Tracing for Unity's URP (Universal Render Pipeline).
- Host: GitHub
- URL: https://github.com/jiaozi158/unitysspathtracingurp
- Owner: jiaozi158
- License: mit
- Created: 2022-12-09T12:58:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-25T09:35:58.000Z (over 1 year ago)
- Last Synced: 2025-05-25T04:07:17.497Z (about 1 year ago)
- Topics: path-tracing, unity, universal-render-pipeline, urp
- Language: C#
- Homepage:
- Size: 95.7 MB
- Stars: 169
- Watchers: 7
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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)**


**(Not Included)**
Original Cornell Box

[Classroom](https://www.blender.org/download/demo-files/) by Christophe Seux (CC0)

[Stormtrooper Star Wars VII](https://www.blendswap.com/blend/13953) by ScottGraham (CC-BY-3.0)

Refraction (Lit by emission)

Documentation
------------
[Here](https://github.com/jiaozi158/UnitySSPathTracingURP/blob/main/Documentation/Documentation.md).
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](https://github.com/jiaozi158/UnitySSPathTracingURP/blob/main/Documentation/ForwardPathSupport.md))
- 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 
References
------------
[Three-Eyed-Games GPU-Ray-Tracing-in-Unity](http://three-eyed-games.com/2018/05/03/gpu-ray-tracing-in-unity-part-1/)
[Introduction to Path Tracing - Marc Sunet](https://shellblade.net/files/slides/path-tracing.pdf)
Please see [PathTracing.hlsl](https://github.com/jiaozi158/UnitySSPathTracingURP/blob/main/Assets/Shaders/ScreenSpacePathTracing/PathTracing.hlsl).