[mono-android] Compressed texture - OES Palette8 RBGBA - white screen
Rodrigo 'r2d2rigo' Diaz
r2d2rigo at gmail.com
Wed Feb 29 17:12:45 UTC 2012
I think you need to call other extension function to check for availability
of DXT/PVRTC, since that one doesn't even show ETC1, and your Android
version does support it. Try using this
make sure you support other formats.
And since your texture turns white, I'd say it's a problem of the bitmap
data, since any minimal problem with the GL calls launches an Exception on
2012/2/29 conio <konrad at konsoft.eu>
> Hey, thanks for the answer. Regarding DXT or PVRTC support it's not that
> It's an image of supported texture compression formats on my HTC Desire Z
> (2.3.3) - I got it by calling GL.GetInteger(All.CompressedTextureFormats).
> So supported are from 0x8B90 to 0x8B99. According to OpenGL ES specs, these
> are only OES palletes - neither DXT nor PVRTC there (PVRTC with Alpha is
> 0x8C02). So, I need to use OES? And do you have any idea why the code I
> posted doesn't show texture? Is code wrong, or if it is correct, might be
> that file with texture is bad?
> View this message in context:
> Sent from the Mono for Android mailing list archive at Nabble.com.
> Monodroid mailing list
> Monodroid at lists.ximian.com
> UNSUBSCRIBE INFORMATION:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Monodroid