Diagram of three layers a lighting mod can change: game data, renderer and the finished frame
ModdingAll games

How lighting mods actually work in PC games

By BOMZA TeamUpdated 5 min read0comments

The short version

Lighting mods change what the game feeds its renderer, what the renderer does with it, or what happens to the finished frame. Knowing which layer a mod touches tells you what it can fix and what it costs.

Why we wrote this: Most questions we get about lighting packs come down to which layer of the game a mod changes, so we wrote it down once.

In this story 7 sections
  1. Layer one: the data the game loads
  2. Layer two: how the renderer behaves
  3. Layer three: the finished frame
  4. Why the same mod looks different on two screens
  5. What lighting mods cost in performance
  6. How this plays out in each game
  7. Picking a lighting mod without regret

A lighting mod can work in three places. It can change the data the game loads, like light sources, weather records and color tables. It can change how the game's own renderer behaves, through settings or engine patches. Or it can take the finished frame and process it again before it reaches your screen. Most packs you see combine two of these. Once you know which layer a mod touches, you can predict what it will fix, what it will break and roughly what it will cost in frame rate.

Layer one: the data the game loads

Every game keeps its lighting as data. In Skyrim and Fallout 4 that means light records placed in each interior cell, image space records that set brightness and tint, and weather records that define sky colors for each hour. In Euro Truck Simulator 2 the sun and ambient colors live in definition files per climate and time of day. In Minecraft the brightness of each block light level is a fixed table that resource packs and shader packs can change.

A data mod edits those values. A cave that used to be lit by one weak torch record gets a second fill light, or the image space for that dungeon gets a higher ambient floor so black corners show some stone. Nothing new is drawn. The game simply gets different numbers.

This kind of mod is usually cheap on performance, because the engine already knew how to draw lights. The catch is conflicts. If two mods edit the same light or weather record, only one wins, and the load order decides which. Our article on load order and conflicts explains how that works.

Layer two: how the renderer behaves

The second layer changes the engine's settings or code. Some of this is plain ini or config work: shadow distance, shadow resolution, the number of lights a surface can receive, fog density. Some of it is deeper. Script extenders and engine plugins can add features the original renderer did not have, like better shadow filtering, contact shadows or new ways to blend light into fog.

Assetto Corsa is the clearest example. Custom Shaders Patch rewrites big parts of how the game lights a track, which is why weather and time of day packs for that game depend on it. In Cyberpunk 2077 the engine already has very advanced lighting, so mods in this layer mostly adjust how much of it is used and where. You can read more on the Assetto Corsa dynamic weather and Cyberpunk night lighting pages.

The cost here varies a lot. Raising shadow resolution is a known quantity. A plugin that adds a new lighting pass can cost very little on one machine and a lot on another, depending on the GPU and the resolution you play at.

Layer three: the finished frame

The third layer is post processing. The game renders a frame as usual, then a tool like ReShade or ENB takes that image, plus the depth buffer when it can get it, and runs extra shaders on it. That is how you get color grading, sharpening, ambient occlusion that darkens corners, bloom, depth of field and film grain.

Post processing cannot add a light source that is not there. It can make an existing light look warmer, make dark areas look darker or brighter, and fake some shadowing in crevices. If a cave is pitch black because there is no light in it, post processing can lift the dark tones, but it lifts everything with them, and you get gray fog instead of a lit room. That is why good cave lighting packs usually work in layer one first.

ENB is a bit special because it hooks into the game's rendering earlier than a pure frame filter does, so it can change things like how the game's own lights and sky are handled. We wrote a separate piece on ReShade vs ENB.

Why the same mod looks different on two screens

Lighting is mostly about dark and mid tones, and that is exactly where screens differ the most. A pack tuned on a bright IPS monitor can look murky on a VA panel with deep blacks, and the other way round. HDR adds another variable: some games tone map differently in HDR, and a post process preset built for SDR can clip highlights.

Before you judge a lighting mod, check three things:

  • The in-game brightness or gamma slider. Many packs expect it at the default value.
  • Your monitor's own picture mode. Dynamic contrast and "game" modes can crush shadows.
  • Whether HDR is on in Windows and in the game, and whether the mod supports it.

What lighting mods cost in performance

There is no single number, and anyone who gives you one for all hardware is guessing. A rough guide by layer:

  • Data edits to existing lights and weather: usually small. Adding many extra shadow casting lights to one room can still hurt, because shadowed lights are expensive in most engines.
  • Renderer settings and plugins: depends entirely on the setting. Shadow resolution and distance scale with your GPU and CPU.
  • Post processing: each shader pass has a cost that grows with resolution. Ambient occlusion and depth of field are usually the heaviest. Color grading and sharpening are light.

When we list a performance impact on a product page, we describe it in plain terms and explain how we tested. The method is in how BOMZA measures FPS impact.

How this plays out in each game

Each engine has its own habits, so the same idea turns into different mods.

  • Skyrim: interior light records and image spaces do most of the work for brighter caves. Weather mods handle skies.
  • Fallout 4: the base game has a heavy color filter in many weathers. Removing or softening it is the core of clearer colors.
  • Cyberpunk 2077: neon and street lights are already rich. Mods tune exposure, fog and the balance between ray traced and raster lighting.
  • The Witcher 3: environment definitions control color per region and time. Night lighting mods usually change moonlight strength and tint there.
  • Minecraft: shader packs loaded through Iris or OptiFine replace the lighting model entirely. See realistic lighting.
  • Euro Truck Simulator 2: sun, sky and ambient values per climate drive the look of night driving, along with the headlight definitions on each truck.
  • Assetto Corsa: Custom Shaders Patch plus a weather and lighting pack is the standard setup.

Picking a lighting mod without regret

Start with what bothers you, in one sentence. "Caves are too dark to see the floor" points to a data mod. "Everything looks washed out and green" points to color work. "Nights are too bright" points to weather or environment edits. If you install a big all in one preset to fix one problem, you also inherit twenty changes you never asked for.

Then check what the mod requires and which game version it was built for. Lighting plugins that hook the renderer tend to break after game updates. Our status page shows which version each BOMZA pack was last confirmed on.

Finally, keep a copy of your config files and a clean save before you start. If you want to try free options first, our free mods overview lists the well known community projects for each game.

Was this worth your time?

Comments 0

Be decent, stay on topic. New comments are checked by a moderator before they show for everyone.

Join the discussion. Sign in or create a free account to comment, reply and react.

Sign in to comment

    Loading comments...

    Keep reading

    4 min read
    ModdingAll games

    How to keep a modded save safe in seven games

    Visual mods rarely hurt saves. Script mods, map mods and loader changes can. Here is where each game keeps its saves, what is safe to add or remove mid playthrough, and a backup habit that takes two minutes.

    5 min read
    ModdingSkyrim +4

    Load order and mod conflicts, explained game by game

    When two mods change the same thing, one of them wins. Which one depends on rules that are different in Skyrim, Fallout 4, The Witcher 3, Euro Truck Simulator 2 and Minecraft. Here is how each game decides.