UFO:Alien Invasion

Technical support => FAQ => Topic started by: keybounce on May 27, 2010, 07:47:36 am

Title: What happens when a map has more light sources than the hardware?
Post by: keybounce on May 27, 2010, 07:47:36 am
What happens if there are 9 direct lights ("wilderness.bsp") and the hardware supports 8 lights?

Is the behavior consistent -- should the program do the same thing (drop the weakest light, I'd assume) in each case?

Can this be sufficient to explain the lack of proper lighting when GLSL shaders are turned off, yet still give proper lighting with them turned on?

And what effect, if any, would the realtime lighting setting have in that case?
Title: Re: What happens when a map has more light sources than the hardware?
Post by: Mattn on May 27, 2010, 08:01:53 am
no, those are different lights - the light ents and surface lights are only used to calculate the lightmap (as per trunk) - the max gl lights limit is for dynamic lights, e.g. when you shoot a rocket launcher or fires the flamethrower.