Home Creators Posts Import Register Favorites Logout

Content

CHAPTER 131: The Nature of the Engine and the Music of the Road

Daniel looked at the list of requirements George had left on his desk and said a sentence that summed up the problem with the precision of an engineer who understands that problems are solved with honesty before enthusiasm:

"Los Santos was a city of concrete. The Witcher is an organic world. The engine needs to learn to make nature."

NGN 2.0 already had deferred rendering, ambient occlusion, procedural vegetation, and improved streaming. Everything they had built in February and March for the general engine update. But the general update was a base. The Witcher needed specific adaptations that turned that base into a world that felt alive in a way Los Santos hadn't needed, because Los Santos was asphalt and glass and concrete, materials that didn't grow or move or die. The Witcher was wood and grass and water and snow, materials that did all of that and that a game engine had to simulate if the world wanted to feel like a place instead of like a set.

The procedural vegetation they had implemented in the general update, the trees with growth algorithms, the leaf billboards, the grass as a geometry shader, worked. But it worked as a technical demonstration. The forests of the Witcher needed more than swaying trees: they needed ecosystems. Daniel and George designed a biome system that defined what kind of vegetation grew where based on three variables: altitude, humidity, and temperature. In the lowlands of Velen, the willows grew next to the swamps with branches that brushed the water. In the hills of Vizima, the oaks dominated with thick trunks and dense canopies that filtered the sunlight in oblique beams that fell to the ground like golden fingers. In the mountains of Skellige, only pines and birches survived the cold, with branches covered in snow that shook off when the wind picked up.

The weather system was the second adaptation. Los Santos had a simple weather system: sun, clouds, rain, fog. Four states that alternated with smooth transitions. The Witcher needed more. It needed storms that darkened the sky in thirty seconds and that turned the dirt roads into rivers of mud where Roach, Geralt's mare, slipped and reduced her speed. It needed dense fog in the swamps of Velen that worked as a mechanical obstacle as well as a visual effect: in the fog, the player couldn't see the enemies until they were 30 meters away, and the drowners used the fog to ambush. It needed snow in Skellige that accumulated on the ground and that modified the terrain textures in real time: the roads covered in fresh snow were white and silent, the trodden roads were brown and crunched.

Daniel implemented the snow system with a shader that mixed the original terrain texture with a snow texture based on an accumulation map that updated every game hour. The first time the snow worked correctly in a Skellige test scene, a mountain path where the snow fell on pines and where Geralt's footprints marked the white ground like dark scars that slowly disappeared, Marcus sat in front of the screen and said nothing for a minute.

"Does it work?" Daniel asked.

"It smells like cold," Marcus said. It was the highest compliment Marcus could give a technical effect: that an effect that existed only as pixels on a screen produced in him a sensory reaction that had nothing to do with sight.

* * *

The interior lighting was the third adaptation and the one that had the most impact on how the world felt.

In Los Santos, interiors were scarce. CJ entered some houses, some stores, some restaurants. But most of the game happened outdoors, under the open California sky. In The Witcher, the interiors were fundamental. Geralt spent hours in taverns waiting for contacts, in villagers' houses listening to stories, in palaces negotiating with kings. The interiors had to feel like refuges: places where the player rested from the hostility of the outside world.

George designed the interior lighting with an aesthetic rule he communicated to Daniel and Marcus in the same meeting: the exteriors are cold and the interiors are warm. The sunlight in the Continent was blue-white, the light of a medieval Northern Europe where the sky was rarely clear. The light of the taverns was orange-gold, the light of candles and fireplaces that turned every interior into a space that invited you to stay.

The candles were point light sources with flicker: a random parameter that made the intensity of the light vary between 80% and 100% every frame, simulating the fluctuation of a real flame. The deferred renderer of NGN 2.0 handled the candles effortlessly: 15 point light sources in a tavern cost the same as 2 in forward rendering. The fireplaces were larger light sources with a color gradient that went from orange in the center to dark red at the edges, casting long shadows that moved with the flicker.

The combined effect was that entering a tavern in The Witcher felt like entering a house in winter. The exterior was cold, gray, dangerous. The interior was warm, orange, safe. The change was more than visual: Lena composed a musical transition that activated a soft lute melody when Geralt entered a tavern, replacing the tense silence of the exterior. The NPCs inside the taverns talked among themselves with an ambient murmur Torres wrote as fragmentary conversations the player could hear if he came closer: gossip about witchers, complaints about taxes, monster stories that got bigger with each beer.

"The taverns are the bonfires of the Witcher," George said in the design meeting where he presented the interior lighting system. "In Dark Souls, the player rests at a bonfire and feels relief because the world stops attacking him. In The Witcher, the player enters a tavern and feels relief because the world stops being cold. The mechanic is different but the emotion is the same: rest."

Daniel finished the engine adaptations for The Witcher in December 2008. Four months of additional work on top of the NGN 2.0 base. The result was an engine that could render forests with biomes, storms with mud, snow that accumulated, and taverns with fifteen candles whose shadows danced on the walls while Lena played a virtual lute and the NPCs murmured about the witcher who had just come in.

It was an organic world. Daniel was right: the engine had learned to make nature.

* * *

Lena asked permission to travel to Eastern Europe in October 2008.

She didn't ask George for permission. She asked Claire, because at NGS the work trips were approved by Claire and because Lena had learned in seven years that the most efficient route to obtain anything that cost money was to talk with Claire directly instead of talking with George who would then talk with Claire who would then ask why George hadn't talked to her first.

"I need three weeks in Europe," Lena said in the office at eight in the morning on a Tuesday, the hour when Claire was most receptive to requests because her coffee was still hot and her notebook was still open. "Prague and Krakow. To research Slavic folk music. For The Witcher."

"Why can't you research from here?" Claire asked in the voice of someone who asks the obligatory question before approving what she already knows she's going to approve.

"Because Slavic folk music doesn't exist on the internet. It exists in churches and in squares and in the fingers of musicians who are seventy years old and who don't have a website. I need to sit with them. I need to hear them play. I need to record the instruments in the space where they sound the way they sound, not in a San Francisco studio where they sound like everything else."

Claire looked at the numbers. Flights, hotel, per diem, portable recording equipment. She calculated in three seconds. "Four thousand dollars."

"Three thousand eight hundred," Lena corrected, who had made her own estimate because she knew Claire well enough to know that arriving with a number was better than arriving without one.

Claire approved the trip with a signature on a form she had designed herself and that took up half a page because Claire considered that forms longer than one page were a sign that someone didn't know what they were asking for.

* * *

Lena flew to Prague the first week of November.

Prague in November was a city that looked like something out of Sapkowski's Continent: damp cobblestone streets under a gray sky that didn't lift, Gothic towers that disappeared into the fog above the rooftops, and a cold that got into your bones with the patience of something that knows it isn't in a hurry because you aren't going anywhere. Lena walked through Malá Strana with a portable recorder and a list of musicians she had contacted by email over the previous two months. Street musicians who played zither and dulcimer on the Charles Bridge. A luthier in Josefov who built Bulgarian gadulkas with maple wood and who played for Lena in his workshop while the smell of varnish mixed with the notes of the instrument.

The gadulka was a revelation. It was a bowed string instrument, smaller than a violin, with a sound Lena described in her notes as "a violin that has lived too long." Rougher than the violin, more nasal, with a natural vibrato the construction of the instrument generated on its own, without the musician having to produce it. Lena recorded the luthier playing for an hour. Then she asked him to teach her to play. In three days, Lena could produce notes that sounded like laments no one had articulated: the sound of someone walking alone down a road with no end.

In Krakow, she recorded a women's choir in a church in Kazimierz that sang Slavic hymns with harmonies that moved like rivers: the main voice advanced and the secondary voices followed it but not by the same path, like tributaries that reach the same sea but through different valleys. She recorded a Slovak fujara, a shepherd's flute a meter long that produced a sound Lena described as "the wind if the wind knew how to sing." And she recorded bells. The bells of St. Mary's Basilica in Krakow that rang every hour with a peal Lena recorded from three different positions: the square, the adjacent street, and the interior of the basilica where the sound bounced off the stone walls and multiplied like an echo arguing with itself.

She came back to San Francisco with 40 hours of recordings, three purchased instruments (a gadulka, a fujara, and a Russian gusli she found in an antique shop in Prague), and a notebook full of notes only she could decipher because they were written in a mix of Bosnian, English, and a musical notation that didn't belong to any standard system.

* * *

Lena composed Geralt's main theme one night in January 2009.

It was a sleepless night where Lena sat at the piano in her Hayes Valley apartment at two in the morning with the Bulgarian gadulka in her lap and the recorder on just in case. She had tried to compose Geralt's theme for three weeks with the piano and it didn't come out. The piano was too clean for Geralt. Too domestic. Geralt wasn't a concert-hall instrument. Geralt was an instrument played on the road, in the rain, with cracked hands.

The gadulka gave the answer. Lena took it, rested it on her shoulder, and started to play a melody she hadn't written: a phrase of six notes that rose, paused, and fell with the resignation of someone who looks at a long road and decides to walk anyway. The six notes had no resolution. They ended on a suspended tone that said "you keep walking," far from any satisfying chord that said "you arrived." Because Geralt always kept walking.

Beneath the six notes of the gadulka, Lena added a drone of low strings: a sustained note of the Russian gusli that didn't change, that held the way the horizon holds when you walk toward it. The drone was the road. The gadulka was Geralt walking down the road. And the space between the two, the silence between the gadulka's notes and the continuity of the drone, was the solitude that defined the character.

Lena recorded three versions in an hour. The first with just gadulka and drone. The second adding the Krakow women's choir as a distant layer that came in during the moments of silence, like voices Geralt heard in the wind but couldn't identify. The third adding the Slovak fujara as counterpoint: the shepherd's flute that played a variation of the six notes an octave higher, as if another traveler were on another road, parallel but invisible.

The third version was the right one. Lena knew it the moment she heard it complete: the rough gadulka over the constant drone, with the ghostly choir and the distant fujara. It was the sound of accompanied solitude. Of a man who walked alone but who wasn't completely alone because the world followed him with its voices and its winds and its parallel roads that never crossed but that existed.

George heard the theme the next day in the office. Lena put it on the speakers of the audio room at low volume, as she always did when she presented something that mattered to her: low so the music would invite instead of impose itself.

The six notes of the gadulka filled the room. The drone of the gusli. The choir. The fujara.

George said nothing for thirty seconds after the piece ended. Then he said:

"It's Geralt."

Lena nodded. She didn't need more. "It's Geralt" was all she needed to hear, because it meant the music said what the character was without anyone needing to explain it. It was the proof that the music worked: if you had to explain what it meant, it didn't mean enough.

"The music of Los Santos was the city," Lena said. "The music of The Witcher is the road. Geralt is always on the road."

George thought about Geralt walking through Velen in the rain with the six notes of the gadulka playing over the drone of the gusli, and he thought that Lena had done something no other composer could have done: turn a three-week trip through churches and workshops of Eastern Europe into the exact sound of a character who didn't exist but who, from that moment on, had a voice that made him real.

Three thousand eight hundred dollars. It was, George thought, the best investment Claire had approved in the history of NGS.

End of Chapter 131

Comments

No comments found for this post.