RedTracing: What It Means for Our Games

Hello and welcome back to Inside RedKnack!

Today we want to talk about something that has eaten a good chunk of our evenings lately: RedTracing. Maybe you've already seen the short video. If not, the gist is this: same room, same engine, and suddenly the light behaves like light.

This post skips the shader talk. It's about what RedTracing means for you when you play our games, and why we decided to build it in the first place. Grab a coffee.

So, What Is RedTracing?

Our games run on the Godot Engine. Godot is great at drawing a scene: walls, characters, textures, all of it. For light, it relies on a set of clever shortcuts. Those shortcuts are fast, and most of the time you won't notice them. Until you do.

RedTracing is our own lighting system that sits on top of Godot. Godot still paints the picture. RedTracing works out where the light actually goes: how it bounces off a wall, which corner it can't reach, and which colour it picks up on the way. Programmers call that ray tracing. We call our version RedTracing, because we're a studio called RedKnack and resisting that pun was never an option.

What You'll Actually See

The easiest way to explain it is a room with a lamp behind you. In most games, that lamp only matters once you turn around. With RedTracing, its light hits the walls behind you, bounces, and reaches the room in front of you. You see the glow before you see the lamp.

Blog Image

Blog Image

Colours travel too. Put a red wall next to a white floor and the floor near it turns slightly pink, just like in a real room. Put a blue light on one side of a wall and a red one on the other, and where the two meet, things turn purple. That's the whole point, just to make things more appealing.

And shadows get weight. Objects stand on the floor instead of hovering above it, corners get darker, and the space under a table "finally" looks like the space under a table. It sounds small. And it's one of those things you stop noticing once it's there and miss right away once it's gone.

Wait, Do I Need a Fancy Graphics Card?

Not really, no, and that part matters to us. Many ray tracing solutions rely on special hardware found in newer graphics cards. RedTracing runs on the regular compute power that current graphics cards already have.

It's still extra work for your PC, so it comes with quality presets from Performance to Ultra, and you can switch it off entirely. On an older machine, you pick a lower preset or play without it. The game stays the same game either way.

So, Why Did We Build This?

Light is a huge part of how a world feels, and we kept running into the same wall.

Godot already has a few lighting tools, and they're good. Some of them only see what's on your screen. Others need to be "baked", which means calculated once in advance and then frozen in place. Many of our ideas involve worlds that change while you play (like Eldertal), and frozen light doesn't like that very much.

We also didn't want to swap out the engine for a heavily modified version just to get better lighting. This one could break our neck due to support and updates. Imagine a second Log4J but for Godot - How fast could we patch or react?. RedTracing plugs into a normal, unmodified Godot. That keeps our games on the same engine everyone else uses, with all its updates and fixes.

Why Not Just Wait?

Ray tracing in Godot is happening elsewhere too. There are experimental engine versions that do full path tracing, and Godot itself has started laying the groundwork. That's good news for everyone.

Experimental is the key word, though, and full path tracing asks a lot of your hardware. We wanted something we can put into our games now, on the PCs people actually own. RedTracing is our answer to that. And if Godot's own ray tracing grows up later, even better.

Now to the Honest Part

RedTracing has limits, and we'd rather tell you now than have you find out in a benchmark. The soft bounce light is calculated on a grid around the camera, so tiny details don't always catch every bounce. It costs performance, which is why the presets exist. And it's one option among the graphics settings, never a requirement or any like that.

What's Next?

RedTracing will come to our upcoming games, and you decide in the graphics settings how much of it you want.

Until then, keep an eye on this space. We'll show more once it's running in an actual game, outside our test room full of colourful walls and plushies. Maybe...

Until next time!