Freelancer
Newbie
- Joined
- Mar 9, 2005
- Messages
- 335
- Reaction score
- 0
I get this error when compiling: Warming: Too many light styles on a face.
What is it?! And what can I do about it. ;(
What is it?! And what can I do about it. ;(
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
Pi Mu Rho said:It means that a particular surface in your map is receiving lighting from too many named* lights, be they flashing, switchable or whatever. Reduce the number of named lights.
*Source treats any light that has a name as if it was a switchable light. Don't give light entities names unless they are intended to be triggered in some way.
Raeven0 said:Aggghhh.
Switchable (named) is not the only criterion. Any light with either a name or a set Appearance contributes to a face's lightstyle limit (indeed, the former implies the latter: any named light can be set to any pattern via an input).
If all of the blinking lights have the same Appearance, there should be no problem. Otherwise, three differently-styled lights is most likely too many.
Now for some technical fun: most of the time, the majority of your lightstyles are wasted, because they're never used. Why? Any named or styled light supports 26 different brightness levels, from a to z. The engine assumes that all of these could be used, and so every face in range of the light has to have its brightness calculated for all of the 26 states. With two styled lights in the same area, that's a whopping 676 permutations to consider, most of which will never even be seen but have to be supported anyway for safety.
Any differently-named lights shining on the same face count.Freelancer said:But I don't have any *styles* , all I got is lights turnining off on map spawn and turning on when you trigger it