GPU Ray Tracing in Unity

► Read here: GPU Ray Tracing in Unity – Part 1

This is step-by-step guide to creating a basic ray tracer from scratch in Unity, running on the GPU using Compute Shaders. At the end of the day, you will have a working ray tracer with glossy reflections, hard shadows from a directional light source and super-sampling for anti aliasing. Part 2 of the tutorial is in the works and will extend this into a full-fledged path tracer for diffuse global illumination, glossy reflections, soft shadows etc.

Questions and feedback are highly appreciated!

5 Likes

Ooooh nice! I’ve had a custom lightmapper brewing in the back of my head for a while and this will help a ton thanks! =3

WOW VERY Perfect Ray Tracing Unity
2020 BOMB Coooooool Engine Unity3d RayTrace Gaming




Made By OmarZonex in Unity3D Engine 2019

fps is very low…

Duh.