I’m using an explosion class which creates its own point light, sets it on render, and removes it when the explosion is over. As more such explosions (say 10) are started in the same frame, there is a noticable stutter in that frame, though framerate is generally holding. If I enable shaders (just setAutoSharder()) on the node surrounded by these explosions, then the framerate takes huge drop while explosions are running (like from 60 fps without shaders to below 10 fps with). If I set explosions not to light render, but only the node surrounded by them, then the stutter on creation is gone, but the framerate drop with shaders enabled is still the same. (That node has about 6000 polys.)
Is this expected behavior for how I’m using lights, or is there something wrong? If it’s expected, is there a common way to visually approximate the desired effect?
(The hardware I’m using is generally up to date. Panda 1.6.2.)