Valve Source Code 2013 Tutorial (Episode 37): Adding A Custom 2D Skybox Renderer To The Client @TheMaster974
Valve Source Code 2013 Tutorial (Episode 37): Adding A Custom 2D Skybox Renderer To The Client  @TheMaster974
Uploaded September 2026 | Updated September 2026, 16 hours ago
Hello everyone and welcome to a new (probably short) series of videos I do involving the source code from Valve for Half-Life 2, and some guides on how to do stuff with this code. In this episode, I showcase how to add a custom 2D skybox renderer into a Source 2013 Singleplayer or Multiplayer mod. I provide some context near the start of the video as to why you would want to do this, for example, the skybox clipping issue gets fixed when the FOV is greater than 90 degrees with this custom renderer! I also include a small bonus which is how to add the skybox_swapper entity from Mapbase into your Source 2013 mod. I need to give a massive thank you and shout out to copperpixel over on GitHub (and anyone else who was involved with the creation of this feature!) for creating the pull request to the Mapbase code, which was the basis for this guide! I also try something new with the recording of the code changes for this video, I'll be interested to hear what you have to say about it. Please let me know what you think and see you for whatever I decide to do next, thanks for watching!

Timestamps
00:00 Introduction / Context
02:25 Tutorial
23:06 Bonus!
28:39 Outro

Links:

Mapbase Pull Request (courtesy of copperpixel) - github.com/mapbase-source/source-sdk-2013/pull/534

GitHub - github.com/TheMaster974/source-code-tutorials

► My new channel: GarethTheGamer -- youtube.com/channel/UC36qEnApR9ua9eDjaRLYcbA
► My Discord server: discord.gg/AynhkAED4S
Valve Source Code 2013 Tutorial (Episode 37): Adding A Custom 2D Skybox Renderer To The ClientGareth Plays: Turbo Overkill Part 9 (Johnnys Back...But At What Cost?)Gareth Plays: Halo: Campaign Evolved Part 13 (Heavy Burden)Gareth Plays: Dark Interval Part 2 - Part 2 (Escaping The City)Gareth Plays: Portal: Revolution Part 6 (Pneumatic Diversity Vent Testing!)Early Portal Advanced Maps in Portal with RTXGareth Rants FOLLOWUP: Crash Bandicoot 4s N. Sanely Perfect RelicsValve Source Code 2013 Tutorial (Episode 32): Adding an Animated Background MenuSource Shorts #29 - Disabling Auto ReloadingLooking At My Old Portal Maps From 2012!Trying Out Super Mario 64 Render 96 (And Chaos Mode!)Gareth and James Play: Super Mario Galaxy [3D All-Stars] Part 13 (The Final Star & The Storybook!)
TheMaster974 |

Valve Source Code 2013 Tutorial (Episode 37): Adding A Custom 2D Skybox Renderer To The Client

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER