I've been using particle systems in various forms for a while, yet this new issue has stumped me.
I have a game where i add a bunch of particle systems to an nsmutabledictionary during my setup method (to initialize them), and then access them as needed by key from the nsdictionary. this technique is done to "preload" all the particle systems to avoid lag during runtime. It works great. but i am noticing a very subtle problem.
The first time i run the game, the colors in the particle system are as expected.
the next time i run the game (i'm not exiting the game, merely rerunning it), all the particle system colors are a lot lighter, as if they had a lot more luminosity.
It might have something to do with my open gl blend mode settings, but even if that were the case, i would expect the behavior to be consistent so all iterations of the game would have a lighter shading for the particles. it's strange that the first iteration is normal, but then all ensuing ones have a lighter pallete.
has anyone experienced something similar and can shed some advice?
thanks
m0by