Unreal Engine 4 How to Disable Lighting

Want to disable lighting in Unreal Engine 4? This guide walks you through the process so you can streamline your scenes and boost performance. Whether you’re testing or optimizing, we’ll show you where to find the settings and how to apply them quickly.

Introduction: Why Disable Lighting in Unreal Engine 4?

Unreal Engine 4 is a powerful tool for creating stunning games and interactive experiences. But sometimes, you don’t need realistic lighting. Maybe you’re building a prototype, testing gameplay, or optimizing performance. That’s when knowing how to disable lighting becomes essential.

This guide will teach you exactly how to turn off lighting in UE4. You’ll learn both quick methods for testing and deeper settings for permanent changes. We’ll cover the editor, runtime, and even how to manage lighting without breaking your scene.

By the end, you’ll be able to disable lighting confidently—whether you’re speeding up builds or simplifying visual feedback. Let’s get started.

Understanding Lighting in Unreal Engine 4

Before disabling lighting, it helps to know what’s happening under the hood. Lighting in UE4 includes several types:

  • Baked Lightmaps: Precomputed lighting stored as textures. Great for realism but slow to update.
  • Dynamic Lights: Real-time lights like point lights or spotlights that change every frame.
  • Indirect Lighting: Light bouncing off surfaces, adding depth and realism.
  • GI (Global Illumination): Simulates how light travels across a scene over time.

Disabling lighting means turning off one or more of these systems. You might do it for performance, debugging, or creative control. For example, turning off dynamic lights can reduce GPU load significantly.

Now let’s walk through the steps to disable them.

Step 1: Disable Lighting in the Editor Viewport

The quickest way to disable lighting is within the Unreal Editor itself. This method doesn’t change your project settings permanently—it just changes how the viewport looks.

How to Toggle Viewport Lighting Off

Follow these steps:

  1. Open your level in the Unreal Editor.
  2. In the top menu bar, click View.
  3. Hover over Show Flags, then select Rendering.
  4. In the Rendering section, uncheck Lighting.

Once done, your scene will appear flat—no shadows, no color from lights. Everything will look gray unless lit by emissive materials.

This is ideal for checking mesh placement or material colors without visual noise.

Tip: Use Wireframe Mode Too

For even more clarity, combine this with wireframe mode. Press F4 or go to View > Show > Wireframe. Now you see only geometry with no lighting at all.

Step 2: Disable Static Lighting in Project Settings

If you want to prevent static lighting from being built or recompiled, adjust your project settings.

Access Project Settings

  1. Go to Edit > Project Settings.
  2. In the left panel, search for Build or navigate to Engine > Rendering > Lighting.
  3. Under Default Settings, find bAllowStaticLighting.
  4. Set it to false.

With this off, Unreal won’t generate or use baked lightmaps. Your scene will rely only on dynamic lighting or no lighting at all.

Important Note

Turning off static lighting affects all future lighting builds. If you turn it back on later, you’ll need to rebake your lightmaps.

Step 3: Turn Off Dynamic Lights at Runtime

Sometimes you want to disable dynamic lights during gameplay. This is useful for performance testing or specific game modes.

Using Blueprints

You can control lights via Blueprints:

  1. Open your Blueprint actor (e.g., Game Mode or Player Controller).
  2. Add an event tick node.
  3. Use Get All Actors of Class and filter for Point Light or Spot Light.
  4. Loop through each light and set its Enabled property to false.

Alternatively, disable all lights with:

AllLights = Get All Actors Of Class(‘PointLight’)
For Each Loop (AllLights)
Set Enabled (False)

This approach gives you fine control over when lights are active.

Using C++

In C++, iterate through lights:

“`cpp
for (TActorIterator ActorItr(GetWorld()); ActorItr; ++ActorItr)
{
ALight* Light = *ActorItr;
if (Light)
{
Light->SetEnabled(false);
}
}
“`

This code disables every light in the world at startup.

Step 4: Disable Post-Process Volume Effects

Even with lighting off, Post Process Volumes can add color grading, bloom, and fog—giving the illusion of lighting.

To remove them:

Method 1: Disable All Post Process Volumes

  1. In your level, select all Post Process Volume actors.
  2. In their details panel, uncheck bUnbound if it’s checked.
  3. Then uncheck bEnabled for each volume.

Now no post-process effects will apply, making the scene truly dark and flat.

Method 2: Remove Them Entirely

Delete unused Post Process Volumes from your level. This reduces draw calls and memory usage.

Step 5: Optimize for Performance with Lightmass Disabled

Lightmass is UE4’s global illumination system. Disabling it stops real-time lighting calculations.

Disable Lightmass in Build Settings

  1. Go to File > Package Level (or right-click your .umap file).
  2. Choose Package for Shipping or Development.
  3. In the popup window, under Lighting Options, uncheck Build Lighting.

Or use console command:

rhi.DisableLightmass=1

This prevents automatic lightmap generation. Ideal for fast iteration.

Alternative: Use Development Configuration

When packaging in Development mode instead of Shipping, lighting isn’t baked by default. This speeds up export times.

Step 6: Test Without Lighting in Standalone Mode

To verify how your scene looks without lighting, run it outside the editor.

Launch Without Lighting

Use command line arguments:

-nohmd -nosound -windowed -ResX=1280 -ResY=720

Or create a custom launch configuration in Window > Project Launcher.

While running, press Tilde (~) to open console and type:

r.LightComplexity 0

This hides lighting stats but doesn’t disable lighting itself.

Check Final Output

After launching, move around your scene. Confirm there’s no flickering, no colored glows, and no shadows. Materials should appear as their base color unless they have emissive values.

Troubleshooting Common Issues

Even experts hit snags. Here’s how to fix common problems when disabling lighting.

Problem: Scene Still Looks Lit After Disabling

Possible causes:

  • You missed Post Process Volumes.
  • Emissive materials are glowing.
  • Lightmass cache exists from previous builds.

Fix:

  • Clear saved lighting data via Window > Lighting Only > Rebuild Lighting.
  • Check materials for emissive channels.
  • Delete DerivedDataCache folder in your project directory.

Problem: Performance Didn’t Improve

Why? Other systems may be bottlenecks—like draw calls or physics.

Solution:

Use Stat Unit or Stat FPS in console to identify slow areas. Then optimize meshes, LODs, or cull distant objects.

Problem: Lights Won’t Stay Disabled in Play Mode

Cause: Blueprint logic or C++ code re-enables them.

Check:

Review event graphs and initialization functions. Ensure no logic toggles lights back on.

Practical Tips for Disabling Lighting

Here are pro tips to make disabling lighting easier and more effective.

Use Layer Visibility

Group lights into layers (e.g., “Exterior,” “Interior”). Then hide entire layers when testing. Right-click a layer > Visibility > Hide Selected.

Create a Debug Preset

Save your lighting-off setup as a preset:

  1. Configure viewport lighting off.
  2. Disable static lighting in settings.
  3. Close and reopen the editor.

Over time, this becomes your go-to workflow for rapid testing.

Document Your Changes

Add comments in Blueprints or C++ about why lighting was disabled. This helps teammates understand the intent.

Test on Target Hardware

Don’t assume performance gains will match your dev machine. Always validate on consoles or mobile devices.

Conclusion: Master Lighting Control in UE4

Disabling lighting in Unreal Engine 4 isn’t just about saving time—it’s about gaining full control over your scene. Whether you’re debugging geometry, testing materials, or pushing performance limits, knowing how to turn off lighting is a vital skill.

We covered multiple methods: viewport tricks, project settings, runtime control, and troubleshooting. Each serves a purpose, from quick previews to permanent optimizations.

Remember: lighting is powerful, but it’s not always needed. Use this knowledge wisely, and you’ll build faster, smarter, and more efficiently.

Now go disable that lighting and see what your scene really needs.