Jump to content

Performace and Lights


Go to solution Solved by Daemoc,

Recommended Posts

Posted

Is there much of a performance hit when using a high number of lights if they do not cast shadows? I have done tests with a ton of lights without issue myself, but I have pretty stout hardware.

Lets say I make a catwalk and I have lights running along both sides. I was wondering how much of an impact on low spec hardware it would be if I gave each light a small point light. No shadows of course.

Is there a soft limit I should not go over per map?

  • Like 1
Posted

In my case, only with one light I have performance problems, my hardawre is about 15 years ago, in that case complex scenes would be for exclusive use of medium or high range. 

  • Thanks 1

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Murphy's Law: We don't fix bugs, we document them as features. – Murphy Games

Posted

I think I am going to run a few test maps with 10's to 100's of lights without shadows and see what the impact is on some low spec hardware. Some very simple maps, just a cube maybe? Something to really isolate the lights impact. I have access to a few windows machines with integrated graphics at work.

  • Solution
Posted

I ran a few tests myself and there is a definite impact on frame rate when a lot of lights are involved. It was odd though, the impact seemed to be non-linear. 1-10 really had no impact at all. 10-30 had a steady impact. 50+ tanked the frame rate in a hurry. I don't know how hardware dependent this is either.

The most important thing I learned is that you can have 10,000 lights on your map with no impact as long as they are not all being drawn at the same time. I will try to keep the light's on screen count under 10. I will also have to make sure the "detail" lights can be turned of on low spec machines.

  • Like 1
Posted
On ‎7‎/‎2‎/‎2019 at 4:17 PM, Daemoc said:

The most important thing I learned is that you can have 10,000 lights on your map with no impact as long as they are not all being drawn at the same time. I will try to keep the light's on screen count under 10. I will also have to make sure the "detail" lights can be turned of on low spec machines.

I think this will be easy to do in a top-down game.

  • Like 1
  • Confused 1

Let's build cool stuff and have fun. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...