# Adding point lights and cpu usage

**URL:** <https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [July 30, 2015, 5:28am UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034 "2015-07-30T05:28:08Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![asmithey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/asmithey/32/473509_2.png) [@asmithey](https://forums.unrealengine.com/u/asmithey)\
**Post date:** [July 30, 2015, 5:28am UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/1 "2015-07-30T05:28:08Z")

</div>

Hi,

I added some static point lights to my scene and now when I build lighting, task manager only builds using average of 35% of cpu core power. Any reason as to why I ma not seeing 100% usage?

---

<div class="post-metadata">

**Author:** ![asmithey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/asmithey/32/473509_2.png) [@asmithey](https://forums.unrealengine.com/u/asmithey)\
**Post date:** [July 30, 2015, 12:56pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/2 "2015-07-30T12:56:18Z")

</div>

I let it build all night it still says 0% on the build and now cpu usage is at 6%. Obviously something is wrong. This only happens when I add point lights. I delete them and it builds fine. Swarm agent is still collecting photons. Or do the cores drop off after they finish calculating during the collecting photon stage? It started with 40 lines now it is down to 3 lines. Strange that adding a few point lights would take so long?. It must be something wrong in my set up.

Swarm agent appears to not be progressing. It is just kind of blinking and the progress slide has not moved forward.

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [July 30, 2015, 1:19pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/3 "2015-07-30T13:19:14Z")

</div>

Which version is this happening on? And could you try adding point lights to a blank map, place a lightmass importance volume and build again?

---

<div class="post-metadata">

**Author:** ![asmithey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/asmithey/32/473509_2.png) [@asmithey](https://forums.unrealengine.com/u/asmithey)\
**Post date:** [July 30, 2015, 1:45pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/4 "2015-07-30T13:45:47Z")

</div>

This is 4.8.3…Ok I will try it.

I placed some in a blank level and it was fine. My guess is it’s my set up. I probably have something wrong. I just do not know what it could be. I opened up the UE4 Level tutorial that I did a while back and it built just fine too.

Here is the set up…

 ![Point lights.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/f/efcb9f07e98597546a22b6c964b4517c2e232e18.jpeg)

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [July 30, 2015, 1:58pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/5 "2015-07-30T13:58:10Z")

</div>

Ok, post some screenshots of your level and lightmass settings in World Settings please.

---

<div class="post-metadata">

**Author:** ![asmithey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/asmithey/32/473509_2.png) [@asmithey](https://forums.unrealengine.com/u/asmithey)\
**Post date:** [July 30, 2015, 2:36pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/6 "2015-07-30T14:36:43Z")

</div>

Here is an image of what is going on outside. And an image of my light mass world settings. Please let me now if you need to see anything else.

Thanks,

Aaron

 ![Light Mass World.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/3/036e70f77e1ddbcc707bc0a10919605f56fd5c89.jpeg) ![View from outside.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/5/559c89c8874e8b4aca8d85ef990c0ec65faf419d.jpeg)

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [July 30, 2015, 2:49pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/7 "2015-07-30T14:49:36Z")

</div>

What happens when you scale the lightmass importance volume down enough to cover the building?

---

<div class="post-metadata">

**Author:** ![asmithey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/asmithey/32/473509_2.png) [@asmithey](https://forums.unrealengine.com/u/asmithey)\
**Post date:** [July 30, 2015, 4:32pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/8 "2015-07-30T16:32:36Z")

</div>

Ok. I made the light mass smaller it took about an hour to finish. I think it solved a lot of the problems I was having.

Here is the light mas volume. It is a bit bigger than the house. It covers the extents of the imported static site mesh that the house sits on. Can you have more than one light mass volume? I read something about priorities. How does that work?

![6c5a11a3ad23ca4014bcebcf12c80f76617c6110.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

Here is the interior view. The lighting looks much better.

![f7272abbe8d15109770de5434851a489a09942f7.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

The only thing that looks off is the shiny metal surfaces. I am using the brushed nickel from the starter content.

![e9b71ffc37c4b023de55da347318cc4b199d49c7.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [July 30, 2015, 4:36pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/9 "2015-07-30T16:36:31Z")

</div>

Yep, the area you wanted to build the lights for was way too big.

You need to use reflection capture actors to fix that metal reflection issue.

---

<div class="post-metadata">

**Author:** ![asmithey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/asmithey/32/473509_2.png) [@asmithey](https://forums.unrealengine.com/u/asmithey)\
**Post date:** [July 30, 2015, 4:40pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/10 "2015-07-30T16:40:41Z")

</div>

Thanks for the help.

I my research I read something about having multiple light mass volumes and setting priorities. How does that work?

Also, my glass reflections have some blockyness to them. Any idea what might cause this?

![38ffeec768e0a8d25c45a2607fd251a3613242ae.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [July 30, 2015, 6:00pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/11 "2015-07-30T18:00:07Z")

</div>

You would only need multiple lightmass volumes if you had, lets say, one more house you want to build the lights for very far away from this one. In your current case however one is all you need.

As to glass reflections, thats as high as the resolution of reflections go. What you can do to get better looks it is to use a cubemap inside the material to fake reflections.

---

<div class="post-metadata">

**Author:** ![asmithey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/asmithey/32/473509_2.png) [@asmithey](https://forums.unrealengine.com/u/asmithey)\
**Post date:** [July 30, 2015, 8:00pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/12 "2015-07-30T20:00:25Z")

</div>

cube map, like a equilateral HDRI?

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [July 30, 2015, 9:26pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/13 "2015-07-30T21:26:22Z")

</div>

Yes. You can see an example of it in TranslucentWater material of the Water Planes content pack.

---

<div class="post-metadata">

**Author:** ![asmithey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/asmithey/32/473509_2.png) [@asmithey](https://forums.unrealengine.com/u/asmithey)\
**Post date:** [July 30, 2015, 10:43pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/14 "2015-07-30T22:43:28Z")

</div>

Cool. I have lots of good HDRI’s.

Thanks

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [July 30, 2015, 10:51pm UTC](https://forums.unrealengine.com/t/adding-point-lights-and-cpu-usage/37034/15 "2015-07-30T22:51:48Z")

</div>

> [@asmithey;344932](#):
>
> Cool. I have lots of good HDRI’s.
> 
> Thanks

I forgot to say, you can also generate a cubemap of the environment using a Scene Capture Cube actor and Cube Render Target texture. An example of it’s usage can be found in Content Examples project’s Reflections map.
