A simple real-time ray-tracing project built using GPU compute in Unity engine.
This project is built using Unity 2019.4.35f1.
By running the project, Unity renderer would be used by default, but by pressing the SPACE
button, the same scene would get rendered using the ray-tracing path.
This allows easy comparison. Every raytraced object should have RayTracingTag.cs
component attached to it.
- Point lights
- Hard shadows
- Reflections with customizable number of bounces
- Specular lighting model
- Sphere and triangle mesh tracing
- Integrated into existing Unity workflow, allowing Unity rendering path and ray tracing path comparisons
- Temporal anti-aliasing
- Skybox rendering
- Pseudo ambient occlusion
Distributed under the MIT License. See LICENSE
for more information.