Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Lights performance  (Read 3098 times)

0 Members and 1 Guest are viewing this topic.

Offline DMarkwick

  • Contributing Member
  • **
  • I'm a llama!
Lights performance
« on: 28 Jun 2009, 21:48:06 »
I'm considering an implementation for an addon I'm messing with that adds lights to many hundreds of locations. The thing is, the VAST majority of the lights will be set to brightness = 0 until a distance proximity is reached. So, out of the many hundreds of lights, maybe one or two at a time will be lit, although it could be as many as ten or twenty I guess.

The question is: do lights with a brightness of 0 have the same performance impact as lights > 0? Are lights processed as lights regardless of brightness?