Dynamic light spike

Dynamic light spike

Re: Dynamic light spike Posted by Static88 on Wed Feb 23rd 2005 at 7:20pm
Static88
122 posts
Posted 2005-02-23 7:20pm
Static88
member
122 posts 52 snarkmarks Registered: Dec 31st 2004 Occupation: USMC Location: USA
I'm in the final phase of my maps construction and I seem to be having an issue. When I do my +showbudget, i'm getting a dynamic lighting spike at regular intervals. Approximately one per second. The bar goes from a steady 1/3 to max length. Kinda like a heart beat monitor or something. It's steady, then it spikes about once per second or so. This only happens when i'm in my outdoor area where I have 4 spotlights. It also still happens when I turn off my dynamic lighting on my light_spot's. Very strange. It's making my fps go from a steady 40 fps to about 5 for a split second during each spike. I'm just afraid that it will make for some anoying multiplayer if it isn't corrected. Anyone have any suggestions on how to fix this one?

btw, I have other dynamic spotlights indoors, but it's properly hidden with hint brushes, seen with mat_wireframe. I'd post a screenshot but i'm at work right now. Thanks.
Re: Dynamic light spike Posted by RaPtoR on Wed Feb 23rd 2005 at 9:37pm
RaPtoR
212 posts
Posted 2005-02-23 9:37pm
RaPtoR
member
212 posts 61 snarkmarks Registered: Jan 1st 2005 Location: Sweden
When you talk about dynamic spotlights, do you mean a light_dynamic and a light_spot syncronized? I assume you do.

Dynamic lights are realy expensive, valve have chosen to use light_spot
and normal light entitys below most of their moving lamps. I'd
recommend that you remove some dynamic lightning, one or two of them
per map should be enough.
Re: Dynamic light spike Posted by Static88 on Wed Feb 23rd 2005 at 9:54pm
Static88
122 posts
Posted 2005-02-23 9:54pm
Static88
member
122 posts 52 snarkmarks Registered: Dec 31st 2004 Occupation: USMC Location: USA
<DIV class=quote>
<DIV class=quotetitle>? quoting RaPtoR</DIV>
<DIV class=quotetext>When you talk about dynamic spotlights, do you mean a light_dynamic and a light_spot syncronized? I assume you do.
Dynamic lights are realy expensive, valve have chosen to use light_spot and normal light entitys below most of their moving lamps. I'd recommend that you remove some dynamic lightning, one or two of them per map should be enough.
</DIV></DIV>
Great! I'll give that a try for sure. Thanks!
Re: Dynamic light spike Posted by Static88 on Sun Feb 27th 2005 at 5:52am
Static88
122 posts
Posted 2005-02-27 5:52am
Static88
member
122 posts 52 snarkmarks Registered: Dec 31st 2004 Occupation: USMC Location: USA
Just in case someone else runs accross the same problem that I had. The spiking was caused by some slowly strobing lights that I had set very bright just above some models. The abrupt lighting on those models is what was causing my dynamic lighting to spike during +showbudget. I just deleted those lights and the problem went away. I hope this helps someone later down the road.