• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] Lightning and fps drop?

Status
Not open for further replies.

Kazeon

Hosted Project: EC
Level 33
Joined
Oct 12, 2011
Messages
3,449
Guys, does multiple instances of lightnings cause bad fps drop? I have about 7 instances and keep updating their positions from one to different unit every 0.03125 interval. The fps was not dropped drastically and instantly, yet slowly until it reach ~3. So the problem is that because I'm creating too much lightnings or because I'm updating them too often? Or is that because retarded wc3 engine?

I think this is the problem:
call MoveLightningEx(.l.light[i], false, x, y, z, xt, yt, zt)
After I deleted that line, there is no fps drop even for >21 instances. Well, that's another sucks shortcoming of wc3. :sad:


EDIT2:
After further researches, the problem is actually on one external library I use. I will not mention it here but complain it to the author instead. Sorry for the thread ;)
 
Last edited:
Status
Not open for further replies.
Top