# Lagging lamps

**URL:** <https://forums.pixeltailgames.com/t/lagging-lamps/1284>\
**Category:** Bug Report\
**Created:** [July 25, 2015, 12:07pm UTC](https://forums.pixeltailgames.com/t/lagging-lamps/1284 "2015-07-25T12:07:55Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Link](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/link/32/36125_2.png) [@Link](https://forums.pixeltailgames.com/u/Link)\
**Post date:** [July 25, 2015, 12:07pm UTC](https://forums.pixeltailgames.com/t/lagging-lamps/1284/1 "2015-07-25T12:07:55Z")

</div>

the game runs fine for me but when i turn on 2 more lamps it becomes laggy, i wonder why (also the more lamps you turn on the less fps you get 😛)

---

<div class="post-metadata">

**Author:** ![Mightyena](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/mightyena/32/233_2.png) [@Mightyena](https://forums.pixeltailgames.com/u/Mightyena)\
**Post date:** [July 25, 2015, 12:16pm UTC](https://forums.pixeltailgames.com/t/lagging-lamps/1284/2 "2015-07-25T12:16:07Z")

</div>

I noticed that too. I figure a future trolling method is to make a Condo full of lamps, turn them all on, then start a Party. Everyone that shows up will then suffer a massive FPS drop.

---

<div class="post-metadata">

**Author:** ![Link](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/link/32/36125_2.png) [@Link](https://forums.pixeltailgames.com/u/Link)\
**Post date:** [July 25, 2015, 12:24pm UTC](https://forums.pixeltailgames.com/t/lagging-lamps/1284/3 "2015-07-25T12:24:43Z")

</div>

i just hope they fix it because its very dark in some places in the condo and the lamps are a nice effect

---

<div class="post-metadata">

**Author:** ![Sabrina](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/sabrina/32/83818_2.png) [@Sabrina](https://forums.pixeltailgames.com/u/Sabrina)\
**Post date:** [July 25, 2015, 4:31pm UTC](https://forums.pixeltailgames.com/t/lagging-lamps/1284/4 "2015-07-25T16:31:47Z")

</div>

I can confirm this on my computer, _steam profile for specs_, with 4 bedside lamps off, average frame rate is around 109 FPS, turning on all four lamps, FPS dips down to around 65 ~ 70. Optimization is still needed in that department, but is expected…

---

<div class="post-metadata">

**Author:** ![Drachen](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/drachen/32/12014_2.png) [@Drachen](https://forums.pixeltailgames.com/u/Drachen)\
**Post date:** [July 25, 2015, 4:35pm UTC](https://forums.pixeltailgames.com/t/lagging-lamps/1284/5 "2015-07-25T16:35:59Z")

</div>

I feel this is just an issue with the Alpha. Lamps shouldn’t cause that much of an FPS drop since, in reality, it should just be lighting.

---

<div class="post-metadata">

**Author:** ![CarbonCopyCat](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/carboncopycat/32/59964_2.png) [@CarbonCopyCat](https://forums.pixeltailgames.com/u/CarbonCopyCat)\
**Post date:** [July 25, 2015, 4:51pm UTC](https://forums.pixeltailgames.com/t/lagging-lamps/1284/6 "2015-07-25T16:51:06Z")

</div>

It’s more of an issue with the type of lighting rather than just optimization issues. Most of the lights used in the map are most likely static lights, which are baked before gameplay, so after they’re loaded in they don’t impact performance that much. However, since the lamps are movable lights, everything has to be calculated while it’s on. From the UE4 Documentation page:

> Movable lights setup to cast shadows use whole scene dynamic shadows, which have a significant performance cost. The performance cost comes primarily from the number of meshes affected by the light, and the triangle count of those meshes. This means that a shadow casting movable light with a large radius will cost many times more than a movable light with a small radius.

TL;DR: Toggle-able lights are different from other lights because they’re laggier, and they get even laggier if they’re placed next to more stuff.

---

<div class="post-metadata">

**Author:** ![Drachen](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/drachen/32/12014_2.png) [@Drachen](https://forums.pixeltailgames.com/u/Drachen)\
**Post date:** [July 25, 2015, 4:52pm UTC](https://forums.pixeltailgames.com/t/lagging-lamps/1284/7 "2015-07-25T16:52:43Z")

</div>

Never really had an issue with toggable lights in any other game, but I don’t really do much with UE4.

Are you saying that this is not an Alpha issue, then? I don’t see why such a sharp FPS issue can’t be ironed out or at least significantly lessened.

---

<div class="post-metadata">

**Author:** ![CarbonCopyCat](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/carboncopycat/32/59964_2.png) [@CarbonCopyCat](https://forums.pixeltailgames.com/u/CarbonCopyCat)\
**Post date:** [July 25, 2015, 5:27pm UTC](https://forums.pixeltailgames.com/t/lagging-lamps/1284/8 "2015-07-25T17:27:14Z")

</div>

I’m not saying that they can’t do anything about it (after all, they did add Vista support when it wasn’t built-in), just that the type of light has a bigger performance hit than the rest. There are a lot of minor tweaks that they could do to the lamps to make it less laggy (reduce the radius, reduce brightness), but either way, it’s still going to be fairly expensive (performance-wise).

Also, “toggle-able lights” in my previous post should just be “condo lamps” since there are toggle-able lights (stationary lights) that aren’t as laggy as the lamps.

---

<div class="post-metadata">

**Author:** ![Sabrina](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/sabrina/32/83818_2.png) [@Sabrina](https://forums.pixeltailgames.com/u/Sabrina)\
**Post date:** [July 25, 2015, 5:29pm UTC](https://forums.pixeltailgames.com/t/lagging-lamps/1284/9 "2015-07-25T17:29:42Z")

</div>

> [@CarbonCopyCat](#):
>
> after all, they did add Vista support when it wasn’t built-in

To be fair to Unreal Engine, you just need to compile the engine yourself to get Vista Support. Downloading the pre-compiled Unreal Engine 4 editor from the Epic Games Launcher does not include Vista Support.

---

<div class="post-metadata">

**Author:** ![macdguy](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/macdguy/32/3448_2.png) [@macdguy](https://forums.pixeltailgames.com/u/macdguy)\
**Post date:** [July 25, 2015, 7:19pm UTC](https://forums.pixeltailgames.com/t/lagging-lamps/1284/10 "2015-07-25T19:19:22Z")

</div>

I’ll be looking into improving their preformance.

I believe it’s the dynamic shadows. They look really pretty though, so it might be end up being an advanced graphical setting.

---

<div class="post-metadata">

**Author:** ![bot](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/bot/32/50994_2.png) [@bot](https://forums.pixeltailgames.com/u/bot)\
**Post date:** [August 16, 2015, 6:59am UTC](https://forums.pixeltailgames.com/t/lagging-lamps/1284/11 "2015-08-16T06:59:41Z")

</div>

Thanks for your report! This has been forwarded straight to our [Trello board](https://trello.com/b/vd6Sx16X/tower-unite-bugs). You can track its status there.

---

<div class="post-metadata">

**Author:** ![Sabrina](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/sabrina/32/83818_2.png) [@Sabrina](https://forums.pixeltailgames.com/u/Sabrina)\
**Post date:** [October 12, 2016, 4:48am UTC](https://forums.pixeltailgames.com/t/lagging-lamps/1284/13 "2016-10-12T04:48:46Z")

</div>


