GamesFPSHalf-Life 2A Valve engineer fixed 3D lighting so hard he had to tell all the graphics card manufacturers their math was wrong, and the reaction was: ‘I hate you’When you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.
GamesFPSHalf-Life 2A Valve engineer fixed 3D lighting so hard he had to tell all the graphics card manufacturers their math was wrong, and the reaction was: ‘I hate you’When you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.
When you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.
(Image credit: Nvidia)

The PC gaming icon that is Half-Life 2 recently celebrated its 20th anniversary, andValve pulled out all the stopswith a major new update integrating the game with its episodes and adding a commentary track. The studio also released a two-hour documentary about the making of the game and what was going on at Valve during its development, which is absolutely crammed with fascinating digressions about the challenge it set itself. And one of them was lighting.
The development of Half-Life 2 was rooted in what multiple staff describe as “the tech wishlist”, which would take six years to fully realise and was absolutely foundational to what Valve wanted to achieve with the game.
“[It] was a main feature that the light felt very, very realistic and intuitive because of the Source engine and the work, the collaboration between artists and engineers,” says Half-Life 2’s lead artist Viktor Antonov, before introducing our hero. “Ken Birdwell, he was a fan about photography and getting the lighting right.”
Ken Birdwell was one of the earliest hires at Valve (he left the company in 2016) and, like pretty much every Valve employee, wore multiple hats over his time there: But he can fairly be described as an extraordinarily talented computer engineer. The now-defunct Half-Life website had a potted biography of Birdwell that listed some of his projects: “in-circuit emulators (CodeTap), 3D surface reconstruction (Surfgen), 3D prosthetics design tools (Shapemaker), and satellite networking (Microsoft’s Broadcast PC). He also wrote one of the first graphical shells for multiplayer online games for Compuserve’s Sniper.”
Antonov actually undersells the photography angle. Birdwell worked for TeleCalc (a B2B software company) in the 1980s, and clearly saved up enough cash to pursue his passions after leaving: From 1990-94 he studied painting, photography, and animation at Evergreen State University, and was awarded a Bachelor of the Fine Arts degree. Getting back to Valve and Half-Life, this saw him primarily working on the first game’s animations and AI (as well as having the idea for the G-Man). When Half-Life 2 rolled around, there was probably no-one in the world more suited to pursue the cutting edge lighting Valve was after. Sure enough, he immediately noticed a problem.
“The math that we were using was wrong,” says Birdwell. “And not only that, the math that everybody was using was wrong. And then as I started to correct it I realised just how bad it was… and then I fixed it and suddenly everything looked great!
“I had to go tell the hardware guys, the people who made hardware accelerators, that fundamentally the math was wrong on their cards. That took about two-and-a-half years. I could not convince the guys, finally we hired Gary McTaggart [from 3DFX] and Charlie Brown and those guys had enough pull and enough… I have a fine arts major, nobody’s gonna listen to me.”
The biggest gaming news, reviews and hardware deals
Half-Life 2: 20th Anniversary Documentary - YouTubeWatch On
Half-Life 2: 20th Anniversary Documentary - YouTube
Half-Life 2: 20th Anniversary Documentary - YouTube

Let’s just pause on that aside. Birdwell smiles while delivering the last line, which we’ll allow because this guy fixed the math being used for lightingso hardthat the manufacturers of graphics cards had to change their math. I found this thought too fascinating to leave alone, and sought out Birdwell to ask if he could expand a little.
“It’s a bit technical,” begins Birdwell, “but the simple version is that graphics cards at the time always stored RGB textures and even displayed everything as non linear intensities, meaning that an 8 bit RGB value of 128 encodes a pixel that’s about 22% as bright as a value of 255, but the graphics hardware was doing lighting calculations as though everything was linear.
“The net result was that lighting always looked off. If you were trying to shade something that was curved, the dimming due to the surface angle aiming away from the light source would get darker way too quickly. Just like the example above, something that was supposed to end up looking 50% as bright as full intensity ended up looking only 22% as bright on the display. It looked very unnatural, instead of a nice curve everything was shaded way too extreme, rounded shapes looked oddly exaggerated and there wasn’t any way to get things to work in the general case.”
Birdwell says this remains “a super common graphics mistake” and even today certain areas of programming require the coder “to keep in mind that all the bitmap values are probably nonlinear, you can’t just add them together or blend them or mix them with linear calculations without considering what ‘gamma space’ you’re working in.”
The good news is that “modern graphics cards know all this now,” and at runtime automatically convert any non-linear formats “into a nicely behaved linear floating point value inside the graphics card before the math happens, so it’s way easier. But that’s now.”
The reason it is that way now is probably a fine arts major.
“All through the ’90s up to maybe the early 2010s it wasn’t the case,” says Birdwell. “You had to be super aware of what ‘gamma space’ you were in at each step of the process or things would look super weird.
“The problem was, when I pointed this out to the graphics hardware manufacturers in ‘99 and early 2000s, I hit the ‘you’ve just pointed out that my chips are fundamentally broken until we design brand new silicon, I hate you’ reaction. That wasn’t a fun conversation. It went through the stages of denial, anger, bargaining, etcetera, all in rapid succession with each new manufacturer.
While trying to get in touch with Birdwell I found an unrelated patent granted to Valve in 2007 on which he’s listed as the inventor.Patent #20070195090is for “Determining Illumination of Models Using an Ambient Framing Abstractions” and summarises itself as “a system and method for determining light illumination on a model in a virtual environment.” It goes into great detail about Birdwell’s exact innovation and, even if this isn’t anything to do with what he’s describing above, it’s clear the man is some sort of god of videogame lighting.
Producer Bill Van Buren says elsewhere in the documentary that there were three key principles to Half-Life 2 and the lighting was part of the first. “To make something that was immersive,” says Van Buren, “visually really rich and appealing, something more like you would see in a film, and the art direction and the tech to make that happen.”
Valve certainly achieved that: Half-Life 2 still looks amazing today. And there are many, many people responsible for that achievement. But Ken Birdwell is why the lighting looks so good, and he did such an outstanding job that you can probably argue every game since has benefitted from it: Or, to put it another way, our graphics cards certainly have.
TOPICSValve
TOPICS
More about fpsTeam Fortress 2 just had the single biggest trade in its history, with ‘the absolute best hat you can get’ going for around $40KThe most important tool in Remedy’s new co-op FPS is the shower: ‘Saving water is essential’LatestThe Last of Us season 2 trailer is a brief look at a story you should probably just play yourself in AprilSee more latest►
More about fpsTeam Fortress 2 just had the single biggest trade in its history, with ‘the absolute best hat you can get’ going for around $40KThe most important tool in Remedy’s new co-op FPS is the shower: ‘Saving water is essential’LatestThe Last of Us season 2 trailer is a brief look at a story you should probably just play yourself in AprilSee more latest►
More about fpsTeam Fortress 2 just had the single biggest trade in its history, with ‘the absolute best hat you can get’ going for around $40KThe most important tool in Remedy’s new co-op FPS is the shower: ‘Saving water is essential’
More about fps
Team Fortress 2 just had the single biggest trade in its history, with ‘the absolute best hat you can get’ going for around $40KThe most important tool in Remedy’s new co-op FPS is the shower: ‘Saving water is essential’
Team Fortress 2 just had the single biggest trade in its history, with ‘the absolute best hat you can get’ going for around $40K
Team Fortress 2 just had the single biggest trade in its history, with ‘the absolute best hat you can get’ going for around $40K
The most important tool in Remedy’s new co-op FPS is the shower: ‘Saving water is essential’
The most important tool in Remedy’s new co-op FPS is the shower: ‘Saving water is essential’
LatestThe Last of Us season 2 trailer is a brief look at a story you should probably just play yourself in AprilSee more latest►
Latest
The Last of Us season 2 trailer is a brief look at a story you should probably just play yourself in April
The Last of Us season 2 trailer is a brief look at a story you should probably just play yourself in April
The Last of Us season 2 trailer is a brief look at a story you should probably just play yourself in April
See more latest►
Most PopularMarvel Rivals’ latest update quietly killed the game’s burgeoning mod sceneSorry everyone, Minecraft 2 is cancelled, and it might be our faultTeam Fortress 2 just had the single biggest trade in its history, with ‘the absolute best hat you can get’ going for around $40KIs the new RTX 5070 really as fast as Nvidia’s previous flagship RTX 4090 GPU? Turns out the answer is yes. Kinda.Elden Ring: Nightreign is getting a closed network test, and I’m totally not fuming because PC players aren’t invited to the party, or anythingIf you’re a content creator and gamer looking for a CPU upgrade, this Ryzen 9 9900X deal will get you $90 offAMD is now reportedly making all-American Ryzen 9000 CPU dies at TSMC’s Arizona fabI tried a sim racing rig that generates ‘wind’ at CES 2025 and it’s claimed to help keep VR nausea at bayFinal Fantasy 14 communities panic as it turns out change to blacklisting, meant to help reduce stalking, also lets players use mods to track their altsTikTok’s time in the US may be ticking to a close as it makes a last stand in the Supreme Court, though Trump now says he ‘opposes banning’ itMSI intros cheaper ‘back connect’ Project Zero Intel motherboards for super-clean PC builds you might actually be able to afford
Most PopularMarvel Rivals’ latest update quietly killed the game’s burgeoning mod sceneSorry everyone, Minecraft 2 is cancelled, and it might be our faultTeam Fortress 2 just had the single biggest trade in its history, with ‘the absolute best hat you can get’ going for around $40KIs the new RTX 5070 really as fast as Nvidia’s previous flagship RTX 4090 GPU? Turns out the answer is yes. Kinda.Elden Ring: Nightreign is getting a closed network test, and I’m totally not fuming because PC players aren’t invited to the party, or anythingIf you’re a content creator and gamer looking for a CPU upgrade, this Ryzen 9 9900X deal will get you $90 offAMD is now reportedly making all-American Ryzen 9000 CPU dies at TSMC’s Arizona fabI tried a sim racing rig that generates ‘wind’ at CES 2025 and it’s claimed to help keep VR nausea at bayFinal Fantasy 14 communities panic as it turns out change to blacklisting, meant to help reduce stalking, also lets players use mods to track their altsTikTok’s time in the US may be ticking to a close as it makes a last stand in the Supreme Court, though Trump now says he ‘opposes banning’ itMSI intros cheaper ‘back connect’ Project Zero Intel motherboards for super-clean PC builds you might actually be able to afford
Most PopularMarvel Rivals’ latest update quietly killed the game’s burgeoning mod sceneSorry everyone, Minecraft 2 is cancelled, and it might be our faultTeam Fortress 2 just had the single biggest trade in its history, with ‘the absolute best hat you can get’ going for around $40KIs the new RTX 5070 really as fast as Nvidia’s previous flagship RTX 4090 GPU? Turns out the answer is yes. Kinda.Elden Ring: Nightreign is getting a closed network test, and I’m totally not fuming because PC players aren’t invited to the party, or anythingIf you’re a content creator and gamer looking for a CPU upgrade, this Ryzen 9 9900X deal will get you $90 offAMD is now reportedly making all-American Ryzen 9000 CPU dies at TSMC’s Arizona fabI tried a sim racing rig that generates ‘wind’ at CES 2025 and it’s claimed to help keep VR nausea at bayFinal Fantasy 14 communities panic as it turns out change to blacklisting, meant to help reduce stalking, also lets players use mods to track their altsTikTok’s time in the US may be ticking to a close as it makes a last stand in the Supreme Court, though Trump now says he ‘opposes banning’ itMSI intros cheaper ‘back connect’ Project Zero Intel motherboards for super-clean PC builds you might actually be able to afford
Most Popular
Marvel Rivals’ latest update quietly killed the game’s burgeoning mod scene
Sorry everyone, Minecraft 2 is cancelled, and it might be our fault
Team Fortress 2 just had the single biggest trade in its history, with ‘the absolute best hat you can get’ going for around $40K
Is the new RTX 5070 really as fast as Nvidia’s previous flagship RTX 4090 GPU? Turns out the answer is yes. Kinda.
Elden Ring: Nightreign is getting a closed network test, and I’m totally not fuming because PC players aren’t invited to the party, or anything
If you’re a content creator and gamer looking for a CPU upgrade, this Ryzen 9 9900X deal will get you $90 off
AMD is now reportedly making all-American Ryzen 9000 CPU dies at TSMC’s Arizona fab
I tried a sim racing rig that generates ‘wind’ at CES 2025 and it’s claimed to help keep VR nausea at bay
Final Fantasy 14 communities panic as it turns out change to blacklisting, meant to help reduce stalking, also lets players use mods to track their alts
TikTok’s time in the US may be ticking to a close as it makes a last stand in the Supreme Court, though Trump now says he ‘opposes banning’ it
MSI intros cheaper ‘back connect’ Project Zero Intel motherboards for super-clean PC builds you might actually be able to afford
HARDWARE BUYING GUIDESLATEST GAME REVIEWS1Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads2Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop3Best mini PCs in 2025: The compact computers I love the most4Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands5Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested1Thank Goodness You’re Here! review2Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review3WD Black SN850X 8 TB NVMe SSD review4Ikea Utespelare desk review5Asus ROG Harpe Ace Mini wireless mouse review
HARDWARE BUYING GUIDESLATEST GAME REVIEWS1Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads2Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop3Best mini PCs in 2025: The compact computers I love the most4Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands5Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested1Thank Goodness You’re Here! review2Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review3WD Black SN850X 8 TB NVMe SSD review4Ikea Utespelare desk review5Asus ROG Harpe Ace Mini wireless mouse review
HARDWARE BUYING GUIDESLATEST GAME REVIEWS1Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads2Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop3Best mini PCs in 2025: The compact computers I love the most4Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands5Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested1Thank Goodness You’re Here! review2Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review3WD Black SN850X 8 TB NVMe SSD review4Ikea Utespelare desk review5Asus ROG Harpe Ace Mini wireless mouse review
HARDWARE BUYING GUIDESLATEST GAME REVIEWS1Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads2Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop3Best mini PCs in 2025: The compact computers I love the most4Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands5Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested1Thank Goodness You’re Here! review2Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review3WD Black SN850X 8 TB NVMe SSD review4Ikea Utespelare desk review5Asus ROG Harpe Ace Mini wireless mouse review
HARDWARE BUYING GUIDESLATEST GAME REVIEWS
1Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads
1Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads
1
Best Steam Deck accessories in Australia for 2025: Our favorite docks, powerbanks and gamepads
2Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop
2Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop
2
Best graphics card for laptops: the mobile GPUs I’d want in my next gaming laptop
3Best mini PCs in 2025: The compact computers I love the most
3Best mini PCs in 2025: The compact computers I love the most
3
Best mini PCs in 2025: The compact computers I love the most
4Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands
4Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands
4
Best 14-inch gaming laptop: The top compact gaming laptops I’ve held in these hands
5Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested
5Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested
5
Best Mini-ITX motherboards in 2025: My pick from all the mini mobo marvels I’ve tested
1Thank Goodness You’re Here! review
1Thank Goodness You’re Here! review
1
Thank Goodness You’re Here! review
2Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review
2Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review
2
Shiren the Wanderer: The Mystery Dungeon of Serpentcoil Island review
3WD Black SN850X 8 TB NVMe SSD review
3WD Black SN850X 8 TB NVMe SSD review
3
WD Black SN850X 8 TB NVMe SSD review
4Ikea Utespelare desk review
4Ikea Utespelare desk review
4
Ikea Utespelare desk review
5Asus ROG Harpe Ace Mini wireless mouse review
5Asus ROG Harpe Ace Mini wireless mouse review
5
Asus ROG Harpe Ace Mini wireless mouse review