GLOOMTALE
Back to Devlog
TechnicalRenderingAtmosphere

Lighting System Overhaul

March 2025

A complete rewrite of our dynamic lighting pipeline — volumetric fog, real-time shadow casting, and the terrifying dark corners that make GloomTale feel alive.

The Problem With Flat Light

Early builds of GloomTale used a basic 2.5D lighting approach inherited from our prototype engine. It worked, but it never felt wrong in the right way. Horror lives in the space between visibility and blindness — and our lighting wasn't carving that space convincingly.

After three months of research and two failed middleware integrations, we rebuilt the lighting system from scratch.

What Changed

Volumetric Fog — Light now scatters through the environment. Candles create halos. Flashlights cut beams you can see. This single change transformed the mood of every single room.

Penumbra Shadows — Hard-edged shadows felt sterile. Real fear needs soft, creeping penumbras that shift as light sources flicker. Our new shadow kernel handles dynamic, layered occlusion with minimal performance cost.

Dynamic Flicker — Every light source in GloomTale is alive. Torches breathe. Fluorescent tubes stutter. The pattern is procedural with subtle randomness — never predictable, always unsettling.

Darkness Zones — Certain areas of the map are designated "void zones" where ambient light is nearly zero. Players must manage their light sources carefully. Running out of light mid-corridor is now genuinely terrifying.

Performance

The new system runs at stable 60fps on mid-range hardware. We use LOD light culling outside the player's immediate viewport and a smart occlusion system that drops shadow calculations for lights the player can't see.

What's Next

Chapter Two introduces a lighthouse sequence with a sweeping 200-metre beam. The lighting system needs to handle that scale. It's a challenge we're looking forward to.

Back to Devlog