I was wondering if anyone ever tried to draw a particle effect over a bright background (worst case: white background).
Actually, particle effects use additive blending (src: SRC_ALPHA, dst: ONE), and thus blend with the background.
It doesn't matter when the background is dark (that's why every particle editor uses a dark background), but the more bright the background is, the less visible the effect will be.
You can see an illustration of the issue in this topic
, or in real-time by changing the background of this flash editor
The suggestion to cope with that is often to render the effect to a transparent off-screen image, and then to draw this image to the screen with common blending. How would you do that with libgdx (I never had to work with off-screen images)? Using a pixmap? I guess it could work for small effects. Large ones could kill performances quite fast maybe (I may be totally wrong though).
Thanks for any tips.