Performance issues with Lightpack
by AndrewOsborne · in · 02/25/2005 (8:55 pm) · 2 replies
In the map there are reasonable large .dif's I am lighting with synapse however as soon as I put one light in i get a massive drop in fps (approx 80-90% drop)...
has anyone had any issues with this? I havnt seen anyone complain of performance issues, any suggestions as to why this may be occuring? Does the lighting pack have trouble with large difs? intergration error?
any ideas would help :)
thanks
has anyone had any issues with this? I havnt seen anyone complain of performance issues, any suggestions as to why this may be occuring? Does the lighting pack have trouble with large difs? intergration error?
any ideas would help :)
thanks
Torque Owner John Kabus (BobTheCBuilder)
Are you using a dynamic light? Dynamic lights by nature are slower than static lights (which don't have any rendering overhead). This is the case in all game engines, and especially true when using many complex interiors. Statics are better suited for this application.
Check out the Modeler's Guide section 'Performance Considerations', it mentions that you should avoid large radius dynamic lights especially in complex interiors.
Also you can minimize the rendering overhead of dynamic lights by commenting out the macro 'SG_ADVANCED_INTERIOR_LIGHTING' in 'sgLighting.h'. This will revert the dynamic lighting to TGE's stock lighting, but even TGE's stock lighting has a similar overhead.
Let me know if this helps!
-John