Inside the lab: the research behind Deep Light 1.2.0
Real Life is the preset I tune with numbers rather than by eye. A judge compares game frames with about a thousand real road photos and says how far apart they are. Each part of that distance is divided by how far one set of real photos is from another, so 0 would mean the frames cannot be told apart from the photos. For 1.2.0 I ran that search again, and this time the sky was part of it.
Why the sky had to be in the same search
Until now, the look and the sky were tuned one after the other. Real Life was fitted with the game’s own sky, and then the sky was fitted on top of it. They are not independent, though. A brighter sky changes how bright the whole frame looks against the photos, and the right asphalt, shadow and colour settings move with it. Tuning one and then the other leaves a gap between them that neither search can see.
So this time it ran in two stages, both in the game, unattended:
- The sky alone, over today’s Real Life. Brightness, horizon, haze, tint, the glow around the sun and cloud detail, fitted against the photos.
- Real Life and the sky together, starting from the result of stage 1, with every setting of the preset free to move.
Both stages ran on 12 places on real roads and kept 4 more places hidden from the search. Those four are only used at the end, to check that the gain holds on roads the search never saw.
The result
Every look below was shot in one session, on the same 16 places with the DBM mods, at 13:00 in sunshine. The stock game counts as 0% and the real photos as 100%:
| Look | Score (lower = closer to real photos) | Of the way to reality | On the 4 hidden places |
|---|---|---|---|
| Deep Light off | 145.9 | 0% | 0% |
| Photorealist | 85.1 | 42% | 38% |
| Real Life before this work, sky off | 80.6 | 45% | 46% |
| Real Life before this work, sky on | 67.9 | 54% | 66% |
| Real Life + the new sky (stage 1) | 62.4 | 57% | 69% |
| Real Life 1.2.0 (stage 2) | 54.3 | 63% | 73% |
The 4 hidden places matter most to me here. The search saw 12 of the 16 places, so the 16-place column includes roads it was fitted on. On the 4 it never saw, the gain is just as large, so it did not simply learn those 12 roads by heart.
What changed, in plain words
- Darker asphalt. Sunlit road in the photos is much darker than the game’s. Even after earlier work, our asphalt was still too bright next to a real road at noon.
- Deeper shadows. Less light fills the shade, so a tree’s shadow on the road reads as shade, not as a slightly greyer patch.
- Calmer colour. Overall saturation is down. Real roads at noon are less colourful than games tend to be.
- A less cyan sky, with a soft glow around the sun and clouds that stand out more. Near the horizon the sky turns pale, as it does in photos taken at midday.
- The sky is now part of Real Life. All of this was measured with the sky on, so picking Real Life turns it on. You can still turn it off, and the other presets leave it as you set it.
Why there is no “before and after” across versions
I would have liked one clean number against earlier versions, and the measurements told me I can’t have it. The same Photorealist, with the same settings, measured 25% of the way one evening and 42% the next morning. Only the game’s own sky had changed between the two sessions: the next morning it was cloudier and darker, which makes the stock game look worse and every look above it look better.
So the only comparisons I trust are those made in one session, against a stock game shot minutes earlier from the same camera. That is why every number in the table above comes from a single run, and why this post doesn’t put them next to the numbers from earlier posts.
What went wrong
As usual, most of the time went into finding out why a measurement was wrong:
- A grey “clear” day. One run came out fully overcast. Setting the time after the weather rolled the weather again, so for a whole run, overcast frames were judged against sunny photos. Now the time is set first, and before anything is measured the script checks that the sky really is blue in three places far apart. If it is not, the run stops instead of producing numbers.
- A camera that drifted. Between two looks of the same place the camera could move a little: sometimes sideways, sometimes tilted up into the sky. Every look is now lined up against the stock shot of its place, and a place whose camera moved is shot again. In the final run, all 16 places lined up at the first try.
- The console in the picture. The game’s console sometimes stayed on screen for a frame. A check closes it and shoots again. I also measured the frames where it stayed: it moved the results by less than 1.5 points.
- The first shot lies. This is still true: right after a teleport, detail is still streaming in. Every place starts with a throwaway shot.
What is left
Real Life 1.2.0 was calibrated at noon in sunshine. Sunrise, sunset, overcast, rain and night have not been measured in this round yet, so the next sessions go there.
The judge also says where the rest of the distance is, and it is less and less about colour. What it still sees is shape and detail: road edges that are too clean, the contrast of the asphalt’s texture, the small clutter of a real roadside. Settings can only take that part so far, and that is where the next big step has to come from.
Was this article useful?