true_bembenik-TheComplexOptimizer icon

TheComplexOptimizer

Client-side FPS optimizer for The Complex (shadow budget, HDRP light fade, GPU instancing).

Last updated 2 hours ago
Total downloads 108
Total rating 0 
Categories Client-side Performance AI Generated
Dependency string true_bembenik-TheComplexOptimizer-1.2.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
TheMan-The_Complex-3.1.5 icon
TheMan-The_Complex

A Backrooms interior for Lethal Company inspired by Kane Parsons.

Preferred version: 3.1.5

README

The Complex FPS Optimizer

A lightweight, client-side performance mod for The Complex interior in Lethal Company.

It optimizes HDRP lighting, real-time shadows, and material rendering without altering dungeon generation, RNG, enemy spawning, AI, light switches, or multiplayer synchronization.


What It Does

  • Optimized Shadow Budget: Replaces The Complex's default ShadowBudget loop with a lighter, cached implementation. Lowers the default simultaneous shadow budget (12 → 5), shadow map resolution (1024 px → 256 px, matching Lethal Company's low-res aesthetic), and shadow fade distance (60 m → 25 m).
  • No Point Light Shadows (Configurable): Disables real-time shadows on Point Lights (which render 6 shadow maps each in HDRP) while keeping shadows on overhead Spot Lights.
  • Native HDRP Light Culling: Applies a configurable fadeDistance (35 m by default) to interior lights so distant lights stop taxing the GPU without breaking breaker boxes, room switches, or light flickering.
  • Disables Interior Light Volumetrics: Turns off volumetric fog calculations on interior lights for a free GPU performance boost.
  • GPU Instancing: Automatically enables enableInstancing on all materials generated by The Complex's MaterialLibrary to reduce draw calls.

Multiplayer Compatibility

100% Client-Side. Only players who want higher FPS need to install it. It does not touch networking, seeds, or dungeon layouts.


Configuration

After launching the game once, edit BepInEx/config/thecomplex.fps.optimizer.cfg:

Section Setting Default Description
Shadows Budget 5 Max simultaneous shadow-casting lights (original: 12). Spot=1, Area=2, Point=3.
Shadows Resolution 256 Shadow map resolution in pixels (original: 1024).
Shadows FadeDistance 25 Distance in meters at which shadows fade out (original: 60).
Shadows DisablePointShadows true Disables shadows on Point Lights while keeping Spot Light shadows.
Lights FadeDistance 35 Native HDRP fade distance in meters for interior lights.
Lights DisableVolumetrics true Disables volumetric fog calculations on interior lights.
Rendering EnableGPUInstancing true Enables GPU Instancing on The Complex materials.

Recommended Companion Mods & Tweaks

For the best FPS in The Complex, pair this mod with:

  • CullFactory — The Complex has built-in compatibility for it, culling rooms behind walls without hiding items in corridors.
  • PathfindingLagFix — Eliminates CPU stutters caused by enemy pathfinding on large interiors.
  • LethalPerformance & AsyncLoggers — Reduces GC stutters and console logging overhead.

You can also tweak BepInEx/config/backrooms.level0.interior.cfg:

  • [TV] MaxPlaying = 1
  • [TV] PlayRadius = 15
  • [Diagnostics] PerfLog = false

Credits

Requires The Complex by TheMan. This mod is an independent Harmony patcher and does not contain or redistribute any code or assets from the original mod.