/RayTracing

RayTracing in Unity

Primary LanguageC#

Ray Tracing

Ray tracing is a technique used in computer graphics to simulate the behavior of light in a virtual environment. By tracing the path of light rays as they interact with virtual objects, ray tracing enables the creation of highly realistic images with accurate lighting, shadows, reflections, and refractions.

More on Ray tracing (graphics) - Wikipedia

Files

Currently there are RayTracingMaster.cs and RayTracingShader.compute + AddShader

Progress:

Ver0.0.1 - Spawning the spheres with perfect reflection alt text

Ver0.0.2 - Shadows and diffuse reflection alt text

Ver0.0.3 - Spawning multiple spheres and controlling them via C# script in inspector alt text