# GPU lightmass with Shadowmaps incompatible with stationary Spotlight?

**URL:** <https://forums.unrealengine.com/t/gpu-lightmass-with-shadowmaps-incompatible-with-stationary-spotlight/2696018>\
**Category:** Rendering\
**Tags:** unreal-engine, Rendering, question\
**Created:** [January 30, 2026, 3:47pm UTC](https://forums.unrealengine.com/t/gpu-lightmass-with-shadowmaps-incompatible-with-stationary-spotlight/2696018 "2026-01-30T15:47:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chantanclan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chantanclan](https://forums.unrealengine.com/u/Chantanclan)\
**Post date:** [January 30, 2026, 3:47pm UTC](https://forums.unrealengine.com/t/gpu-lightmass-with-shadowmaps-incompatible-with-stationary-spotlight/2696018/1 "2026-01-30T15:47:12Z")

</div>

Hello everyone! I’m getting familiar with the GPU Lightmass process and I’ve encountered some issues that I’m not sure are limitations or something I’m doing wrong:

Using ShadowMaps (instead of Virtual Shadowmaps) with spot and rect lights, the baking doesn’t turn out well (different issues such as static objects not being lit or static objects not casting shadows).

On the other hand, stationary point and directional lights do work fine.

Are stationary spot and rect lights incompatible with “traditional” Shadowmaps?

Thanks, greetings!

---

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1052483_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [January 30, 2026, 8:06pm UTC](https://forums.unrealengine.com/t/gpu-lightmass-with-shadowmaps-incompatible-with-stationary-spotlight/2696018/2 "2026-01-30T20:06:11Z")

</div>

Hello there @Chantanclan !

Checking with my peers, stationary spots and rect lights are compatible on paper, but they do have different results when mixed with regular shadowmaps.

Searching around the community for this relation, I found a related bug report from last year, and an associated thread:

> **UE-291212 - GPU Lightmass no longer works with cascaded shadow maps**
> 
> _Since Unreal Engine 5.5 stationary lights have stopped working with GPU Lightmass when using Cascaded Shadow Maps._
> 
> _With Virtual Shadow Maps enabled on the project, GPU Lightmass works. This issue does not happen with CPU Lightmass or in 5.4._

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-291212)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

> [@Fix for stationary spotlights with GPU Lightmass w/o VSMs (UE-291212)](https://forums.unrealengine.com/t/fix-for-stationary-spotlights-with-gpu-lightmass-w-o-vsms-ue-291212/2589709):
>
> This is a potential fix for UE-291212 ([Unreal Engine Issues and Bug Tracker (UE-291212)](https://issues.unrealengine.com/issue/UE-291212)) to fix stationary spotlights and other issues with stationary lights when using GPU Lightmass to build lighting in projects that don’t use virtual shadow maps. The primary issue is that the FLightShaderConstants struct in C++ (Lights.h) does not match the FLightShaderConstants in the shader (LightmapPathTracing.usf). Specifically, UE 5.5 broke this when the DiffuseScale parameter was added to the wrong plac…

From this data, I think you can have two paths to try here:

- You can use virtual shadow maps instead of classics, which should avoid strange behaviours with shadows and objects
- Or you can switch your lights to static, which should bypass the shadowmap channel conflict, baking into the lightmap textures

---

<div class="post-metadata">

**Author:** ![Chantanclan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chantanclan](https://forums.unrealengine.com/u/Chantanclan)\
**Post date:** [January 31, 2026, 5:35am UTC](https://forums.unrealengine.com/t/gpu-lightmass-with-shadowmaps-incompatible-with-stationary-spotlight/2696018/3 "2026-01-31T05:35:48Z")

</div>

Thank you very much for your answer @brs-sebascova , I figured something like that was happening. Since this issue persists in 5.7, I’ll opt for VSMs; they penalize performance slightly, but they also look better. I was just trying to make my project as optimized as possible.
