You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
This was originally reported in #13, but it's better to have a separate ticket to track this since it's a little bit of a problem.
Sprite transparency seems to not be working. If you check the sheet for BlauGest it should be transparent in the background. Transparency is being turned into black pixels. Sample pic included of what's happening now; some of the text is getting obstructed by the whole sprite frame:
For testing this, I think it would be a good idea to to include an example that draws a PNG image w/ alpha values between [0, 255], (unline GIF with only has 1 bit alpha). Make the background also transition/interpolate between two colours.
The text was updated successfully, but these errors were encountered:
I discovered that when a PNG is loaded, it was triggering the case at line no. 448, which wasn't making an RGBA texture in OpenGL.
I also included some minor changes so we are hard-specifying the bit depth of each channel. I'd also thing it would be a good idea to only use one type of texture (only make RGBA textures) but that's for another later discussion.
Also, the case states for lines 446-452 and 454-460 are kind of moot now, since they all resolve to the same proc call I collapsed it into an if statement.
Closeszacharycarter#36
This was originally reported in #13, but it's better to have a separate ticket to track this since it's a little bit of a problem.
Sprite transparency seems to not be working. If you check the sheet for
BlauGest
it should be transparent in the background. Transparency is being turned into black pixels. Sample pic included of what's happening now; some of the text is getting obstructed by the whole sprite frame:For testing this, I think it would be a good idea to to include an example that draws a PNG image w/ alpha values between [0, 255], (unline GIF with only has 1 bit alpha). Make the background also transition/interpolate between two colours.
The text was updated successfully, but these errors were encountered: