On Friday, 27 September 2019 at 22:13:43 UTC, matheus wrote:
On Friday, 27 September 2019 at 21:16:07 UTC, Murilo wrote:
Here it is, how do I make the ship have a transparent background?

First: Your PNG file has transparency data information right?

Second: I was Looking into the drawImage function (Line 854):


And I'd suggest you to try to add the glEnable(GL_ALPHA_TEST); before glBegin(GL_QUADS);

In fact you should do this only once, maybe inside the constructor, but just try it there to see if it works.


Thanks for trying to help me but unfortunately you are suggesting I use arsd.screen which is supposed to be obsolete, I am using arsd.simpledisplay instead and it is very different although many functions have the same name.

Reply via email to