One in two BitmapFont lose transparency on Android

Found a bug? Post information about it here so we can fix it!

Moderator: Moderators

User avatar
VilleK
Site Admin
Posts: 2316
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: One in two BitmapFont lose transparency on Android

Post by VilleK »

I haven't had a chance to investigate this yet. Kjells suggestion sound ok, and it may not even be needed to save/restore the blend state at all. It depends on where it is used.

@ats: have you found a workaround for now so you are not stuck on this issue?
User avatar
Kjell
Posts: 1910
Joined: Sat Feb 23, 2008 11:15 pm

Re: One in two BitmapFont lose transparency on Android

Post by Kjell »

Hej Ville,
VilleK wrote: Sun May 09, 2021 8:49 amKjells suggestion sound ok, and it may not even be needed to save/restore the blend state at all. It depends on where it is used.
Saving & restoring the blend state in RenderText.Execute isn't needed no, but since you haven't implemented attribute masking in fakePushAttrib it happens anyway .. so that might be another thing to look at.

K
User avatar
Ats
Posts: 704
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: One in two BitmapFont lose transparency on Android

Post by Ats »

After a lot of tries, I didn't find a work around other than compiling with only glEnable(GL_BLEND); :|
But I've found some other weird things like that one on Android. Such as inverted polygons. Maybe related to that. Maybe not. I'll try to make a short example out of that tomorrow.
Post Reply