You've seen the screenshots. A rain-soaked street where every puddle reflects the neon signs. A dark room lit by one window, with soft shadows that look photographed. The caption almost always says ray tracing, and the settings menu next to it usually costs you a third of your frame rate.
So is it a big deal or a marketing word? Honestly, a bit of both. Here's what it actually does, why it's so expensive, and when it's worth switching on.
The idea in one minute
In real life, light leaves a lamp, bounces around the room, and a tiny fraction of it lands in your eye. That's why you see anything at all.
Simulating that exactly would be wasteful, because almost all of that light never reaches you. So computer graphics flips it round. Start at the camera and fire an imaginary line, a ray, through each pixel out into the scene. When it hits something, ask a few questions. What's this surface made of: rough, shiny, glass? Is anything between this spot and the light? If so, it's in shadow. Is it a mirror? Then fire a new ray in the reflected direction and see what that one finds.
Do that for every pixel and shadows, reflections and glass behave the way they do in the world, because you're following the same rules. That's ray tracing. The core idea is so small that Ray Tracing in One Weekend, a free book, builds a working ray tracer from nothing in a few evenings.
What games did before
For decades games used rasterisation. Instead of asking what each pixel sees, it takes every triangle in the scene, flattens it onto the screen and colours it in. It's extremely fast, which is why games have run at smooth frame rates for thirty years.
The catch: while it colours one triangle, rasterisation knows nothing about the rest of the world. So anything that needs that knowledge gets faked. Shadows come from rendering the scene a second time from the light's point of view and saving a "shadow map". Reflections are often a copy of what's already on screen, which is why they vanish when you look down at a puddle and the building leaves the top of the screen. The soft light that bounces off a red wall and tints the floor is usually baked into the level ahead of time, which looks lovely until something in the room moves.
Good artists make these tricks beautiful. They're still tricks, and once you know where the seams are, you see them everywhere.
What ray tracing changes
Used well, it replaces those tricks with the real thing in a few places.
Reflections show what's actually there, including things behind you and off-screen. Cyberpunk 2077's wet streets are the classic example. Shadows soften the further they fall from the object, the way real ones do, instead of having one crisp edge. And global illumination, the bounced light, means opening a door in a dark corridor spills light across the walls without anyone having baked that moment in advance. That last one often changes how a scene feels most, even when you can't point at it.
The result is usually less "wow, shiny" and more "this looks right, and I can't say why". A lot of people only notice ray tracing when they turn it off.
Is it new?
The idea is decades old. Film studios have ray traced animated films and visual effects for years, at minutes or hours per frame. What's new is doing it dozens of times a second.
That became practical in 2018, when NVIDIA's RTX 20-series cards added hardware to speed up the hardest part, finding which triangle a ray hits. Microsoft added DirectX Raytracing (DXR) to Windows the same year, and other graphics APIs followed. Today the PlayStation 5, the Xbox Series consoles and most recent graphics cards from NVIDIA, AMD and Intel can do it, to very different degrees.
The part nobody puts on the box
Tracing rays is hard work, even with dedicated hardware. A game can't afford anything like the number of rays a film uses, so games cheat in new ways.
They fire only a handful of rays per pixel, which gives a grainy, noisy image. A denoiser then cleans it up, using previous frames and clever filtering. And upscaling (DLSS on NVIDIA, FSR on AMD, XeSS on Intel) renders the game at a lower resolution and rebuilds a sharp image, which wins back most of the lost speed.
That's why switching ray tracing on can halve your frame rate, and why the best results still need a strong card. If you're not sure where your PC stands, our Can I run it? tool compares your parts with a game's published minimum and recommended requirements.
Some games go further and use path tracing, where almost all the lighting is ray traced. It's stunning and it's the hungriest option of all. We explain why in What's path tracing?.
Should you turn it on?
Try it, honestly. Switch it on, play five minutes, switch it off, play five more. If you didn't notice the difference, you have your answer, and you've got your frame rate back.
In fast games, smooth beats shiny. In a competitive shooter or a racer, a steady high frame rate matters far more than accurate reflections in a window you drive past at 200 km/h.
Slow, moody games are where it shines. Dark interiors, rainy cities and cinematic adventures show off what it does best. Alan Wake 2 and Control are good places to see it earn its cost.
If your card supports upscaling, use it with ray tracing. The combination usually looks better than ray tracing at native resolution at an unplayable frame rate.
And don't feel left out without it. Plenty of the best games ever made have no ray tracing at all. Art direction matters more than any rendering technique, and a game with a strong style looks great on any hardware.
If you make games
You don't need ray tracing to make a good game, and for a small team it's rarely the right place to spend effort. Unreal Engine and Unity both offer ray-traced options you can switch on, and engines also have their own bounced-light systems (Unreal's Lumen, Godot's SDFGI) that get a similar look more cheaply. If you do use it, always offer a way to turn it off, because a lot of players have hardware that can't manage it.
We don't use it at all. Every game on this site runs in a web browser, on Godot's Compatibility renderer, and has to work on budget laptops and phones. Browsers can't do hardware ray tracing anyway. So our lighting is old-fashioned and hand-placed: in our racer Nitro Crown, the night city's glow is a screen effect turned up for night tracks, and the lit windows are painted on by a shader. It's the same trade-off every game made before 2018, and it's still a perfectly good one.
If you're curious about the maths, build a tiny ray tracer yourself. It's a few hundred lines and one of the best ways to understand how a picture on a screen comes out of simple rules. The free book Physically Based Rendering goes much deeper when you're ready.
Sources & credits
This guide is original writing by Santoshi Games. It draws on, and links to, the free resources below. All rights to them belong to their creators. Please support them.
- Ray Tracing in One Weekend, Peter Shirley, Trevor David Black and Steve Hollasch
- Physically Based Rendering: From Theory to Implementation, Matt Pharr, Wenzel Jakob and Greg Humphreys
- DirectX Raytracing (DXR) functional spec, Microsoft
- Ray tracing overview, NVIDIA Developer