# Shadow maps - Is there a way to just use "preview shadows"? It does exactly what I need!

**URL:** <https://forums.unrealengine.com/t/shadow-maps-is-there-a-way-to-just-use-preview-shadows-it-does-exactly-what-i-need/755700>\
**Category:** International\
**Tags:** Shadows, shadows-problem, fps-drop, unreal-engine, Lighting, question\
**Created:** [January 24, 2023, 1:47am UTC](https://forums.unrealengine.com/t/shadow-maps-is-there-a-way-to-just-use-preview-shadows-it-does-exactly-what-i-need/755700 "2023-01-24T01:47:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DevbyMoonlight](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DevbyMoonlight](https://forums.unrealengine.com/u/DevbyMoonlight)\
**Post date:** [January 24, 2023, 1:47am UTC](https://forums.unrealengine.com/t/shadow-maps-is-there-a-way-to-just-use-preview-shadows-it-does-exactly-what-i-need/755700/1 "2023-01-24T01:47:59Z")

</div>

After some debugging with the performance monitor, I found out that my endemic random FPS problems have to do with Virtual Shadow Maps.

Changing the setting to Shadow Maps fixes it, but results in a runtime warning that thousands of objects need to have their lighting rebuilt - not a surprise, because those objects are procedurally spawned at runtime. It still manages to generate shadows regardless, but they have the text “Preview” stamped all over them.

This is a stylised indie game, so I’m not overly interested in having extragalactic shadows at the cost of randomly dropping to 2 FPS for no reason. I’m actually perfectly fine with the preview shadows, other than them having the text “Preview” on them (but I can change the material) and the warning about lighting.

Can I just literally leave it like that and ignore the warning? Is there a way to make the warning go away? What am I actually supposed to do with procgen objects that can’t have lighting baked in advance, other than using Virtual Shadow Maps?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [January 24, 2023, 8:15am UTC](https://forums.unrealengine.com/t/shadow-maps-is-there-a-way-to-just-use-preview-shadows-it-does-exactly-what-i-need/755700/2 "2023-01-24T08:15:36Z")

</div>

If you have messages about building light, it means that some, if not all, of the lights in your scene are stationary. Just change them to moveable.
