Forza Horizon 3 is definitely a gorgeous game, and now we know how the team at Playground Games achieved that, as Creative Director Ralph Fulton recently sat dwon with The Guardian and talked about some of the technical side of FH3.
Fulton started with talking about the use of a voxel-based GI solution for real-time lighting, explaining: "Forza Horizon 3 uses a voxel-based global illumination system to calculate light bounces in real-time. This system uses the HDR sky, other light sources and offline-generated occlusion data to work out which surfaces the light bounces onto".
He continued: "For an easy way to see the impact that bounced light has on a scene, look at locations with complex shadows like the entrance to a cave or crevices in a rock formation - in Forza Horizon 2, those shadows would have had a single colour value which meant the shadow would be uniform everywhere there was no direct light. In Forza Horizon 3, we calculate how light - and hence colour - bounces into partially occluded areas so shadows have a much higher variation in darkness and colour. The depths of a tunnel, with no direct and minimal indirect light, will be almost black; whereas the edges of shadow will bleed naturally from dark to light based on indirect bounced light".
Playground Games spent some considerable time on the sky in Forza Horizon 3, with Fulton saying: "People have asked us, why are you so obsessed with the sky? Well, it's a massive part of our frame. In a driving game you have sky, car, terrain, road. But it's more than that: the sky is the lightsource, so everything in the world benefits from a realistic system. Through the detail of the light and the reflections, the cars, the leaves on the trees, the tarmac, all of them benefit from the much higher detail lighting data that's coming from the sky. So the whole scene looks better - not just the blue bit at the top".
It's not just the sky that shines in Forza Horizon 3, but the cars have had equal developing love with simulated materials like carbon fiber, alloy metal types and leather in the interiors rendered at up to the sub-pixel level. Playground Games also tapped Goldeneye 007 and Banjo Kazooie developer Rare for the sea in Forza Horizon 3, with Fulton saying: "The sea in Forza Horizon 3 is also the sea in Sea of Thieves. Doing proper sea tech is incredibly complex. We knew the guys up the road at Rare were working on the same problem".
He added: "They're doing more deepsea stuff, but we got in touch with them, shared a bit of code, and we optimised it back and forth, so we've both benefited. Our challenge was making the sea interact with the beach, so lapping waves, foam, wetting and drying the sand correctly - that was a whole other area of work. The 12 Apostles area is a sort of hero image for us, and we wanted the car to be down there racing. If you're going to be on a beach, the sea has to look good. That work paid off because driving the cars into the sea looks awesome".