Shambler:
Call this FPS code once per renderworld, and you will see that the FPS is over 1000, and that there is a difference between 1 and 2 lights.
This is much more accurate FPS code than your basic FPS code, because it counts the actual number of frames that happened in a second rather than trying to compute how much time an inidvidual frame took and extrapolating that to the entire second.
Call this FPS code once per renderworld, and you will see that the FPS is over 1000, and that there is a difference between 1 and 2 lights.
This is much more accurate FPS code than your basic FPS code, because it counts the actual number of frames that happened in a second rather than trying to compute how much time an inidvidual frame took and extrapolating that to the entire second.
Global FPS_Timer Global FPS_FrameCount Global FPS_FPS Function FPS() FPS_FrameCount = FPS_FrameCount + 1 If MilliSecs() >= FPS_Timer FPS_FPS = FPS_FrameCount FPS_FrameCount = 0 FPS_Timer = MilliSecs() + 1000 EndIf Return FPS_FPS End Function