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.


Reply via email to