Вопрос

I'm making a particle engine in Java, and right now I'm using a subclass of java.awt.canvas. I'm using canvas.getBufferStrategy().getDrawGraphics() and then, when I'm done, using canvas.getBufferStrategy().Show().

Now that I've got some particles (graphics.fillOval(...)) - I need to do some additive blending! Problem is, I can't find additive blending anywhere (googled). What I came up with from a google search is open gl through jogl. jogl would be a great move from graphics, since I have change the graphics color thousands of times a tick, and I can't find additive blending, but I'm just unsure as to whether or not jogl is standard and works on all (or most) computers.

Any thoughts or suggestions are welcome.

Нет правильного решения

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top