Check out Quake 2 played on a Titan Xp with real-time GPU path tracing

Despite some impressive gains in GPU performance as of late, it is going to be a long time before rendering with path tracing in games is commonplace. The required horsepower is simply out of reach at the moment. That said, computer graphics programmer Edd Biddulph uploaded a video to YouTube that showcases his path tracer running Quake 2 in real-time.

"This video shows new features of my GPU path tracer built into Quake 2. All lighting is computed on-the-fly with the use of ray tracing. In comparison to previous videos which were playbacks of recorded game sessions, this video is composed of live sessions played by myself," Biddulph explains.

When watching the demo, you'll notice what appear to be a lot of artifacts. What you're seeing is actually noise, and it is inevitable on today's hardware. As one of the commenters points out, Quake 2 is two decades old, and being played on a modern GPU.

Despite the noise, this is a really cool demonstration of path tracing. And for those of you who are interested, Biddulph made the source code for his GPU path tracer available on GitHub.

What is path tracing?

Ray tracing and path tracing are different methods of achieving the same thing: more realistic lighting in a scene based on how we naturally see light in the real world. Normally, light rays are calculated based on being projected out from the light source, in the scene. But in the real world, we only see the light that hits our eyes. So ray tracing and path tracing illuminate a scene by calculating the lighting of a scene with light rays being projected from the view port or camera's point of view. The more rays, the more realistic the final render will be.

Both methods are calculation heavy, and while they generate realistic lighting, they're too intensive for today's GPUs to do in real time at high-resolutions. This is why you see so many "dots" in the video below: not enough rays to generate a realistic scene, due to the GPU's inability to process a high number of rays at adequate speed.

Correction: An earlier version of this article attributed a quote to Biddulph saying, "It will be another 15-20 years before GPU hardware is powerful enough to do real time ray (or path) tracing without the noise experienced in this video." The source of the quote is actually a user comment (Kristofer Stoll) to Biddulph's video on YouTube.

Paul Lilly

Paul has been playing PC games and raking his knuckles on computer hardware since the Commodore 64. He does not have any tattoos, but thinks it would be cool to get one that reads LOAD"*",8,1. In his off time, he rides motorcycles and wrestles alligators (only one of those is true).