Flambard
03-18-2006, 03:25 PM
Hi there guys!
I'm writing a particle engine for my Direct3d 2d-game, and encountered a serious problem:
It seems, that I can't draw pointSprites AFTER I drew the regular sprites. Is that really so? I tried hardly.
So I decided to draw them manualy, using my sprite engine. Everything works fine, exept the particle blending.
I'm using particle.bmp (found in some1's else project) to draw a particle. As you can see it has some dark borders, which overlapse each other when 2 particles are near (see screenshot for better explanation).
The regular color-keying is working, but it seems, that I need some irregular one? I've tried messing with textureloader filters, but with no luck. What should I do?
I'm writing a particle engine for my Direct3d 2d-game, and encountered a serious problem:
It seems, that I can't draw pointSprites AFTER I drew the regular sprites. Is that really so? I tried hardly.
So I decided to draw them manualy, using my sprite engine. Everything works fine, exept the particle blending.
I'm using particle.bmp (found in some1's else project) to draw a particle. As you can see it has some dark borders, which overlapse each other when 2 particles are near (see screenshot for better explanation).
The regular color-keying is working, but it seems, that I need some irregular one? I've tried messing with textureloader filters, but with no luck. What should I do?