⚜ SteamCozy

Home / News / Intravenous 2

Devlog #3 - Lighting, Normalmapping, and DirectX 11

Intravenous 2 · Community Announcements · November 18, 2026

Read the original on Steam ↗
I love good lighting in games, so when I set out to make Intravenous I wanted to have real-time dynamic shadows for every single light source.
In my opinion good lighting with a good artstyle immortalizes game graphics.
Since Intravenous is a stealth game first and foremost, a good lighting engine was therefore very important.

Intravenous 1 used a two-stage solution - static and dynamic lighting.

Static lighting is computed in advance (also called pre-baking) - it adds indirect lighting to the scene.
Because it is pre-computed, it is very light on the system - all the graphics card needs to do is to display the pre-calculated lighting.



The second stage is rendering the dynamic lights - this is relatively cheap, because it simulates only what light reaches directly.
By combining this with static lighting, we get the best of both worlds - real-time dynamic lighting and static pre-compiled lighting.
It's fast, looks good, and doesn't come with that many compromises, except for one - none of the objects that contributed to the static lighting can be removed from the scene, since the static lighting won't be updated.



Intravenous 2 went a step further and introduced a new optional effect - lightmap-based ambient occlusion (LBAO).
It is a form of ambient occlusion that uses data from the pre-computed static lighting, and applies broad-scale AO that is relatively cheap, yet can reach far.
The effect applies both short-range and long-range detail, and is fairly transformative to the entire scene - areas that should be dark are now dark, and small objects can now shade parts of the scene in a way that makes sense.



Intravenous 3 goes yet another step further and introduces unidirectional sun/moon lighting - this was the last missing piece to the lighting in the Intravenous games.
Now, all objects within the scene cast shadows under the sun and moon, which further increases contrast and makes every exterior scene more dynamic - exactly what was needed.



To finish things off, Intravenous 3 also incorporates normalmapping - an effect I wanted to have since the first game, but never had the time to implement it.
Normalmapping simulates surface relief and specular highlights. It's tech as old as 1999, however pretty much every 3D game out there uses it, and 2D games can benefit from it, too, when integrated correctly.



Going a step beyond that, Intravenous 3 introduces real-time global illumination and bounce light effects.
Static lighting is baked once and stores the visibility data, however RTGI needs to update the visibility data for each lighting change.
Computing RTGI on the GPU thus became a no-go, as an effect like that influences the lighting in a major way, and since Intravenous is a stealth game it needed to correctly update what the AI can and can't see.
That's why in Intravenous 3 these effects are computed in parallel on separate CPU cores - a CPU with at least 4 cores (not threads!) is therefore recommended as the minimum for turning these effects on.



The bounce lighting effect is the same, but for select light sources - flashlights, flares, and muzzleflashes.



All of these inclusions meant more time used by the CPU to queue the graphics commands sent to the GPU.
That's why for Intravenous 3, the renderer has been switched from OpenGL to DirectX 11 - and this switch has enabled double the performance on most machines, and up to triple on some select configurations.
In the end, despite all these inclusions, the game performs better than Intravenous 2.

We are very proud of our work and hope that you will share the excitement we feel for the game.
Thank you for reading today's devlog, and stay tuned for the next one!
Intravenous 2 MORE ON STEAMCOZYIntravenous 2 95.7% positive · 2,875 reviews Price tracking · player charts · similar games →