Naievil / nzp3ds

GNU General Public License v3.0
0 stars 0 forks source link

Broken Alpha Transparency with TGA #15

Closed Naievil closed 2 years ago

MotoLegacy commented 2 years ago

updated to reflect that the issue is with any image with translucent (non-0 and non-255) pixels

Naievil commented 2 years ago

Correct, seems that alpha fading is not working properly. We cannot set an alpha value besides 0 or 1, which is a problem. The opaque drawing is not working properly

It could be that I need to do some kind of glEnable(GL_BLEND), but am not sure what with

Naievil commented 2 years ago

Needed glEnable(GL_ALPHA_TEST)

Fixed in 18fac3