As a lil project of mine gets near the end, I decided it's time to fix glitches I couldnt be bothered to fix before.
So one of them is alpha looking ugly.
I made an explosion consisting of few png images, been using it's alpha channel for blending, it works okay when it happens above water, but sometimes(=more of the time), when it is above the geometry it gets mad and behaves as if there wasnt geometry under it, but a skybox.
Here is a screenie of how it looks in game, and how does explosion frame looks like:
dhdd's reply helped improve effect a lot. Now it works that each explosion spawns few quads with texture on it, making animation more random and live, but there still seem to be some glitches in it:
in that case it is a sorting issue. play with the TestFunction in your BlendState and if that all doesnt help try adding a ZBufferState. this may be a stupid idea but it doesnt take much time and wont hurt