# Good light with best performace?

**URL:** <https://forums.unrealengine.com/t/good-light-with-best-performace/343946>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** light, Map, lightning, unreal-engine, Performance, question\
**Created:** [January 13, 2016, 1:26pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946 "2016-01-13T13:26:57Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jojii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jojii](https://forums.unrealengine.com/u/Jojii)\
**Post date:** [January 13, 2016, 1:26pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946/1 "2016-01-13T13:26:57Z")

</div>

Hello,

has somebody an idea, or can somebody tell me, what the best way is, to have best fps and good lightning, like in the shootergame example? I don’t know, how to use lights, with good fps. In the shooter game example in the Learn do I have 100 fps. In my game I have only 20-35fps… What is the best way to make light, with moust performace/fps?

thanks. Jojii

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [January 13, 2016, 4:10pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946/2 "2016-01-13T16:10:40Z")

</div>

Hello Jojii,

There are number of things you can do to optimize your project for better lighting. If you bring up your console command prompt by pressing the " `/~" key and enter command " profilegpu, " the editor will bring up a screen capture of all of your processes. This will profile where your memory is allocated and how much is being assigned to that process.

In this profile is a section dedicated to lighting. In that section you can see what specifically about your lights is taking up your GPU memory.

After profiling your GPU and finding where most of your processes with your lights are occurring please post again with the results. Also, you may want to switch your lighting to movable. Movable lights update every frame. This is a more accurate lighting calculation than that of a baked lighting which is built only once. Depending on your project size Dynamic lighting is less expensive than a large lightmass being drawn.

I am linking you to our documentation on lighting an environment. In this section it covers many lighting techniques and how they can be used in an efficient and optimized way.

> **[Lighting Tools and Plugins](https://docs.unrealengine.com/5.1/en-US/lighting-tools-and-plugins-in-unreal-engine/)**
>
> A collection of tools and plugins that are useful for lighting scenes.

I am also linking you to a lighting troubleshooting guide which covers common issues that you can run into when lighting.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

-

---

<div class="post-metadata">

**Author:** ![Jojii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jojii](https://forums.unrealengine.com/u/Jojii)\
**Post date:** [January 13, 2016, 7:37pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946/3 "2016-01-13T19:37:07Z")

</div>

Thanks for the quick reply, I’ll test it now.

---

<div class="post-metadata">

**Author:** ![Jojii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jojii](https://forums.unrealengine.com/u/Jojii)\
**Post date:** [January 13, 2016, 7:53pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946/4 "2016-01-13T19:53:10Z")

</div>

So, I tried what you said. There came a Screen with gpu informations. So it looks like:

 ![74302-profilegpu.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/a/41a4ce3f1bcbb246b64df14f17b24370fd92e8bf.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [January 13, 2016, 8:48pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946/5 "2016-01-13T20:48:12Z")

</div>

So, most of your calculations are taken up within the “Render Velocities” section. These calculations are dedicated to the values you have set to Motion Blur. You can control a size threshold that goes into it but doing so make the Temporal AA look funny.

You can try to lower this value and this should lower the (ms) dedicated tot his section of the profile. If you roll out the tab for lights I will see under that section what is taking up the most calculations.

-

---

<div class="post-metadata">

**Author:** ![Jojii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jojii](https://forums.unrealengine.com/u/Jojii)\
**Post date:** [January 14, 2016, 2:56pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946/6 "2016-01-14T14:56:14Z")

</div>

And how can I control them exactly? I’m not a beginner in unreal engine, but I don’t know, what you exactly mean how I can fix these. I watched a little bit the light section, there are the lights listed, which were close to the camera. But I can post the light tab.

Jojii

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [January 14, 2016, 3:25pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946/7 "2016-01-14T15:25:37Z")

</div>

The biggest difference you will see is from enabling or disabling certain features on your lights. Turning off shadows on some lights that you don’t need them on can improve performance. The distance at which you have shadows cast or whether or not they are dynamic or stationary. All of these things will influence the draw on your GPU.

When optimizing it’s always a balancing act. Certain things may look better but are more performance intense. The sharpness of shadows is a good example of this.

-

---

<div class="post-metadata">

**Author:** ![Jojii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jojii](https://forums.unrealengine.com/u/Jojii)\
**Post date:** [January 14, 2016, 3:38pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946/8 "2016-01-14T15:38:20Z")

</div>

OK. Is there a fps hole, or does it takes more fps if I put the lights in blueprints?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [January 14, 2016, 3:48pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946/9 "2016-01-14T15:48:19Z")

</div>

For simply drawing lights to your viewport there shouldn’t be a discrepancy in FPS. Each will have the same draw call when rendered on screen. If you have values like blinking lights and other such variables associated with your lights through Blueprints then you will see lower FPS.

-

---

<div class="post-metadata">

**Author:** ![Jojii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jojii](https://forums.unrealengine.com/u/Jojii)\
**Post date:** [January 14, 2016, 4:37pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946/10 "2016-01-14T16:37:09Z")

</div>

![74450-lightsection.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/4/b34799b209ae195376b1821cb3b3f57a31b0a43f.jpeg)

So, this is the light tab. Maybe this kan help you to give me more tips.  
Can you say, where I have to change the Values, you mean with for example the blur .

Jojii

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [January 15, 2016, 2:56pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946/11 "2016-01-15T14:56:17Z")

</div>

There are several ways to do this.

1.) If you have a post processing volume you can change the values for motion blur under the volumes Settings \> Motion Blur.

 ![74615-volume_motion_blur.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/0/f/90f1a47fd4d609271a47111396a82e3a1cda9229.jpeg)

2.) You can disable it completely form your project by going to Project Settings \> Rendering \> Default Post Processing and unchecking the box for Motion Blur.

 ![74616-project_settings_motion_blur.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/8/a/d8a7bbc9a68052efe09633661218da09320411a6.jpeg)

3.) Lastly if you have a camera you can adjust the post process values under Post Process Settings \> Motion Blur

 ![74617-camera_motion_blur.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/e/0/7e05132db43617c360fb8bfa8a19745d927510b8.jpeg)

-

---

<div class="post-metadata">

**Author:** ![Jojii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jojii](https://forums.unrealengine.com/u/Jojii)\
**Post date:** [January 15, 2016, 3:47pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946/12 "2016-01-15T15:47:43Z")

</div>

Yes, this works. Thanks. I have still not 100 fps, but it is really better. I have a last understanding question, because I didn`t understand. Is it better, if “moveable” turned on or off?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [January 15, 2016, 3:52pm UTC](https://forums.unrealengine.com/t/good-light-with-best-performace/343946/13 "2016-01-15T15:52:37Z")

</div>

For more accurate calculations and control over the light and it’s properties I would have movable enabled.

-
