I can't seem to get GLUtils.texImage2D to use my full RGBA (A=my alpha
component). I've tried doing setEGLConfigChooser(8, 8, 8, 8, 0, 0);
getHolder().setFormat(PixelFormat.RGBA_8888);
I've tried converting the source image (.png in ARGB) to RGBA.. which
works ok for the ordering of data before texImage2D, but when it
draws, it draws yellow where it should be "transparent white"... which
suggests it's diminishing the "B"(blue) component instead of the
A(alpha) component. But the same thing happens when I just use the
orignal ARGB data instead ("B" diminishes instead of "A", leaving
yellow). I have no idea why but I'll keep trying, but has anybody done
this properly and has the answer?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en